var Cb = Object.defineProperty;
var Rb = (V, C, U) => C in V ? Cb(V, C, { enumerable: !0, configurable: !0, writable: !0, value: U }) : V[C] = U;
var Xt = (V, C, U) => Rb(V, typeof C != "symbol" ? C + "" : C, U);
import Sp, { useState as Xc, useRef as Ch, useCallback as Dh, useEffect as Rh } from "react";
import oS from "react-dom";
function Db(V) {
  return V && V.__esModule && Object.prototype.hasOwnProperty.call(V, "default") ? V.default : V;
}
var mp = { exports: {} }, s0 = {};
/**
 * @license React
 * react-jsx-runtime.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var K1;
function Ob() {
  if (K1) return s0;
  K1 = 1;
  var V = Symbol.for("react.transitional.element"), C = Symbol.for("react.fragment");
  function U(v, k, I) {
    var le = null;
    if (I !== void 0 && (le = "" + I), k.key !== void 0 && (le = "" + k.key), "key" in k) {
      I = {};
      for (var Z in k)
        Z !== "key" && (I[Z] = k[Z]);
    } else I = k;
    return k = I.ref, {
      $$typeof: V,
      type: v,
      key: le,
      ref: k !== void 0 ? k : null,
      props: I
    };
  }
  return s0.Fragment = C, s0.jsx = U, s0.jsxs = U, s0;
}
var r0 = {};
/**
 * @license React
 * react-jsx-runtime.development.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var W1;
function zb() {
  return W1 || (W1 = 1, process.env.NODE_ENV !== "production" && function() {
    function V(q) {
      if (q == null) return null;
      if (typeof q == "function")
        return q.$$typeof === ft ? null : q.displayName || q.name || null;
      if (typeof q == "string") return q;
      switch (q) {
        case ht:
          return "Fragment";
        case be:
          return "Profiler";
        case de:
          return "StrictMode";
        case qt:
          return "Suspense";
        case F:
          return "SuspenseList";
        case te:
          return "Activity";
      }
      if (typeof q == "object")
        switch (typeof q.tag == "number" && console.error(
          "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
        ), q.$$typeof) {
          case We:
            return "Portal";
          case it:
            return (q.displayName || "Context") + ".Provider";
          case Ie:
            return (q._context.displayName || "Context") + ".Consumer";
          case Rt:
            var oe = q.render;
            return q = q.displayName, q || (q = oe.displayName || oe.name || "", q = q !== "" ? "ForwardRef(" + q + ")" : "ForwardRef"), q;
          case $:
            return oe = q.displayName || null, oe !== null ? oe : V(q.type) || "Memo";
          case Ae:
            oe = q._payload, q = q._init;
            try {
              return V(q(oe));
            } catch {
            }
        }
      return null;
    }
    function C(q) {
      return "" + q;
    }
    function U(q) {
      try {
        C(q);
        var oe = !1;
      } catch {
        oe = !0;
      }
      if (oe) {
        oe = console;
        var ce = oe.error, pe = typeof Symbol == "function" && Symbol.toStringTag && q[Symbol.toStringTag] || q.constructor.name || "Object";
        return ce.call(
          oe,
          "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
          pe
        ), C(q);
      }
    }
    function v(q) {
      if (q === ht) return "<>";
      if (typeof q == "object" && q !== null && q.$$typeof === Ae)
        return "<...>";
      try {
        var oe = V(q);
        return oe ? "<" + oe + ">" : "<...>";
      } catch {
        return "<...>";
      }
    }
    function k() {
      var q = Ye.A;
      return q === null ? null : q.getOwner();
    }
    function I() {
      return Error("react-stack-top-frame");
    }
    function le(q) {
      if (Ce.call(q, "key")) {
        var oe = Object.getOwnPropertyDescriptor(q, "key").get;
        if (oe && oe.isReactWarning) return !1;
      }
      return q.key !== void 0;
    }
    function Z(q, oe) {
      function ce() {
        Jt || (Jt = !0, console.error(
          "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
          oe
        ));
      }
      ce.isReactWarning = !0, Object.defineProperty(q, "key", {
        get: ce,
        configurable: !0
      });
    }
    function Ee() {
      var q = V(this.type);
      return R[q] || (R[q] = !0, console.error(
        "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
      )), q = this.props.ref, q !== void 0 ? q : null;
    }
    function Ze(q, oe, ce, pe, Le, yt, sa, Fn) {
      return ce = yt.ref, q = {
        $$typeof: Je,
        type: q,
        key: oe,
        props: yt,
        _owner: Le
      }, (ce !== void 0 ? ce : null) !== null ? Object.defineProperty(q, "ref", {
        enumerable: !1,
        get: Ee
      }) : Object.defineProperty(q, "ref", { enumerable: !1, value: null }), q._store = {}, Object.defineProperty(q._store, "validated", {
        configurable: !1,
        enumerable: !1,
        writable: !0,
        value: 0
      }), Object.defineProperty(q, "_debugInfo", {
        configurable: !1,
        enumerable: !1,
        writable: !0,
        value: null
      }), Object.defineProperty(q, "_debugStack", {
        configurable: !1,
        enumerable: !1,
        writable: !0,
        value: sa
      }), Object.defineProperty(q, "_debugTask", {
        configurable: !1,
        enumerable: !1,
        writable: !0,
        value: Fn
      }), Object.freeze && (Object.freeze(q.props), Object.freeze(q)), q;
    }
    function re(q, oe, ce, pe, Le, yt, sa, Fn) {
      var Dt = oe.children;
      if (Dt !== void 0)
        if (pe)
          if (nl(Dt)) {
            for (pe = 0; pe < Dt.length; pe++)
              He(Dt[pe]);
            Object.freeze && Object.freeze(Dt);
          } else
            console.error(
              "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
            );
        else He(Dt);
      if (Ce.call(oe, "key")) {
        Dt = V(q);
        var ra = Object.keys(oe).filter(function(Uu) {
          return Uu !== "key";
        });
        pe = 0 < ra.length ? "{key: someKey, " + ra.join(": ..., ") + ": ...}" : "{key: someKey}", ge[Dt + pe] || (ra = 0 < ra.length ? "{" + ra.join(": ..., ") + ": ...}" : "{}", console.error(
          `A props object containing a "key" prop is being spread into JSX:
  let props = %s;
  <%s {...props} />
React keys must be passed directly to JSX without using spread:
  let props = %s;
  <%s key={someKey} {...props} />`,
          pe,
          Dt,
          ra,
          Dt
        ), ge[Dt + pe] = !0);
      }
      if (Dt = null, ce !== void 0 && (U(ce), Dt = "" + ce), le(oe) && (U(oe.key), Dt = "" + oe.key), "key" in oe) {
        ce = {};
        for (var ae in oe)
          ae !== "key" && (ce[ae] = oe[ae]);
      } else ce = oe;
      return Dt && Z(
        ce,
        typeof q == "function" ? q.displayName || q.name || "Unknown" : q
      ), Ze(
        q,
        Dt,
        yt,
        Le,
        k(),
        ce,
        sa,
        Fn
      );
    }
    function He(q) {
      typeof q == "object" && q !== null && q.$$typeof === Je && q._store && (q._store.validated = 1);
    }
    var ye = Sp, Je = Symbol.for("react.transitional.element"), We = Symbol.for("react.portal"), ht = Symbol.for("react.fragment"), de = Symbol.for("react.strict_mode"), be = Symbol.for("react.profiler"), Ie = Symbol.for("react.consumer"), it = Symbol.for("react.context"), Rt = Symbol.for("react.forward_ref"), qt = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), Ae = Symbol.for("react.lazy"), te = Symbol.for("react.activity"), ft = Symbol.for("react.client.reference"), Ye = ye.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ce = Object.prototype.hasOwnProperty, nl = Array.isArray, Yl = console.createTask ? console.createTask : function() {
      return null;
    };
    ye = {
      "react-stack-bottom-frame": function(q) {
        return q();
      }
    };
    var Jt, R = {}, J = ye["react-stack-bottom-frame"].bind(
      ye,
      I
    )(), W = Yl(v(I)), ge = {};
    r0.Fragment = ht, r0.jsx = function(q, oe, ce, pe, Le) {
      var yt = 1e4 > Ye.recentlyCreatedOwnerStacks++;
      return re(
        q,
        oe,
        ce,
        !1,
        pe,
        Le,
        yt ? Error("react-stack-top-frame") : J,
        yt ? Yl(v(q)) : W
      );
    }, r0.jsxs = function(q, oe, ce, pe, Le) {
      var yt = 1e4 > Ye.recentlyCreatedOwnerStacks++;
      return re(
        q,
        oe,
        ce,
        !0,
        pe,
        Le,
        yt ? Error("react-stack-top-frame") : J,
        yt ? Yl(v(q)) : W
      );
    };
  }()), r0;
}
var I1;
function Ub() {
  return I1 || (I1 = 1, process.env.NODE_ENV === "production" ? mp.exports = Ob() : mp.exports = zb()), mp.exports;
}
var ve = Ub();
const d0 = {
  base: "absolute cursor-move shadow-lg flex items-center justify-center",
  size: "w-8 h-8 md:w-12 md:h-12",
  stickSize: "w-20 h-20 md:w-24 md:h-24",
  shape: "rounded-full",
  color: "bg-transparent"
}, Mb = ({
  center: V = !1,
  position: C,
  onDrag: U,
  onPointer: v,
  onDelete: k,
  onSettings: I,
  children: le,
  hasSetting: Z = !1
}) => {
  const [Ee, Ze] = Xc({ x: 0, y: 0 }), [re, He] = Xc({ x: C.x, y: C.y }), [ye, Je] = Xc(!1), We = Ch(null), ht = (F) => F.type.includes("touch") ? F.touches[0] : F, de = Dh(
    (F) => {
      const $ = ht(F);
      Je(!0);
      const Ae = F.currentTarget.getBoundingClientRect();
      Ze({
        x: V ? $.clientX - re.x : $.clientX - Ae.left,
        y: V ? $.clientY - re.y : $.clientY - Ae.top
      }), v == null || v();
    },
    [v]
  ), be = Dh(
    (F) => {
      if (!ye) return;
      const $ = ht(F);
      let Ae = $.clientX - Ee.x, te = $.clientY - Ee.y;
      const { width: ft, height: Ye } = We.current.parentNode.getBoundingClientRect();
      ft > 0 && Ye > 0 && (Ae = Math.max(0, Math.min(Ae, ft - 10)), te = Math.max(0, Math.min(te, Ye - 10)));
      const Ce = { x: Ae, y: te };
      He(Ce), U == null || U(F, Ce);
    },
    [ye, Ee, U]
  ), Ie = Dh(() => {
    Je(!1);
  }, []), it = {
    left: `${re.x}px`,
    top: `${re.y}px`,
    ...V && { transform: "translate(-50%, -50%)" },
    touchAction: "none"
    // 防止移动端触摸滚动
  }, Rt = /* @__PURE__ */ ve.jsxs(
    "svg",
    {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      viewBox: "0 0 24 24",
      fill: "none",
      stroke: "currentColor",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round",
      children: [
        /* @__PURE__ */ ve.jsx("line", { x1: "18", y1: "6", x2: "6", y2: "18" }),
        /* @__PURE__ */ ve.jsx("line", { x1: "6", y1: "6", x2: "18", y2: "18" })
      ]
    }
  ), qt = /* @__PURE__ */ ve.jsxs(
    "svg",
    {
      xmlns: "http://www.w3.org/2000/svg",
      width: "16",
      height: "16",
      viewBox: "0 0 24 24",
      fill: "none",
      stroke: "currentColor",
      strokeWidth: "2",
      strokeLinecap: "round",
      strokeLinejoin: "round",
      children: [
        /* @__PURE__ */ ve.jsx("circle", { cx: "12", cy: "12", r: "3" }),
        /* @__PURE__ */ ve.jsx("path", { d: "M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z" })
      ]
    }
  );
  return /* @__PURE__ */ ve.jsxs(
    "div",
    {
      ref: We,
      className: `${d0.base} ${Z ? d0.stickSize : d0.size} ${d0.shape} ${d0.color}`,
      style: it,
      onMouseDown: de,
      onTouchStart: de,
      onMouseMove: be,
      onTouchMove: be,
      onMouseUp: Ie,
      onTouchEnd: Ie,
      onMouseLeave: Ie,
      children: [
        /* @__PURE__ */ ve.jsx(
          "button",
          {
            className: "absolute -top-1 right-0 text-white bg-mask hover:bg-red-600 z-10",
            onClick: (F) => {
              F.stopPropagation(), k == null || k();
            },
            "aria-label": "删除",
            children: Rt
          }
        ),
        Z && /* @__PURE__ */ ve.jsx(
          "button",
          {
            className: "absolute -top-1 left-0 text-white bg-mask hover:bg-gray-600  z-10",
            onClick: (F) => {
              F.stopPropagation(), I == null || I();
            },
            "aria-label": "设置",
            children: qt
          }
        ),
        le
      ]
    }
  );
}, Bb = "", xb = "", Hb = "";
function Qb(V) {
  const [C, U] = Xc(!1);
  return /* @__PURE__ */ ve.jsxs(
    "div",
    {
      className: `absolute left-0 top-0 flex flex-col bg-gray-100/50 backdrop-blur-sm transition-all duration-300

        ${C ? "w-12 h-12" : "w-16 h-full"} overflow-hidden`,
      children: [
        /* @__PURE__ */ ve.jsx("div", { className: "flex flex-col items-center px-2 py-4 border-b border-gray-200", onClick: () => U(!C), children: /* @__PURE__ */ ve.jsx("img", { className: "w-4 h-4 flex-shrink-0", src: C ? Bb : xb }) }),
        /* @__PURE__ */ ve.jsx("div", { className: "flex-grow overflow-y-auto space-y-1", children: V.list.map((v, k) => /* @__PURE__ */ ve.jsxs(
          "div",
          {
            className: "mb-1 flex flex-col items-center justify-center cursor-pointer h-16",
            onClick: v.clickHandler,
            children: [
              /* @__PURE__ */ ve.jsx("img", { className: "w-6 mb-1", src: v.icon }),
              !C && /* @__PURE__ */ ve.jsx("span", { className: " text-xs font-semibold  text-gray-900", children: v.name })
            ]
          },
          k
        )) }),
        /* @__PURE__ */ ve.jsxs(
          "div",
          {
            onClick: V.generateConfig,
            className: "mb-4 flex items-center flex-col cursor-pointer",
            children: [
              /* @__PURE__ */ ve.jsx("img", { className: "max-w-6 mb-1", src: Hb }),
              !C && /* @__PURE__ */ ve.jsx("span", { className: " text-xs font-semibold  text-gray-900", children: "保存" })
            ]
          }
        )
      ]
    }
  );
}
var gp = { exports: {} }, h0 = {}, pp = { exports: {} }, Zv = {};
/**
 * @license React
 * scheduler.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var F1;
function Nb() {
  return F1 || (F1 = 1, function(V) {
    function C(R, J) {
      var W = R.length;
      R.push(J);
      e: for (; 0 < W; ) {
        var ge = W - 1 >>> 1, q = R[ge];
        if (0 < k(q, J))
          R[ge] = J, R[W] = q, W = ge;
        else break e;
      }
    }
    function U(R) {
      return R.length === 0 ? null : R[0];
    }
    function v(R) {
      if (R.length === 0) return null;
      var J = R[0], W = R.pop();
      if (W !== J) {
        R[0] = W;
        e: for (var ge = 0, q = R.length, oe = q >>> 1; ge < oe; ) {
          var ce = 2 * (ge + 1) - 1, pe = R[ce], Le = ce + 1, yt = R[Le];
          if (0 > k(pe, W))
            Le < q && 0 > k(yt, pe) ? (R[ge] = yt, R[Le] = W, ge = Le) : (R[ge] = pe, R[ce] = W, ge = ce);
          else if (Le < q && 0 > k(yt, W))
            R[ge] = yt, R[Le] = W, ge = Le;
          else break e;
        }
      }
      return J;
    }
    function k(R, J) {
      var W = R.sortIndex - J.sortIndex;
      return W !== 0 ? W : R.id - J.id;
    }
    if (V.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
      var I = performance;
      V.unstable_now = function() {
        return I.now();
      };
    } else {
      var le = Date, Z = le.now();
      V.unstable_now = function() {
        return le.now() - Z;
      };
    }
    var Ee = [], Ze = [], re = 1, He = null, ye = 3, Je = !1, We = !1, ht = !1, de = !1, be = typeof setTimeout == "function" ? setTimeout : null, Ie = typeof clearTimeout == "function" ? clearTimeout : null, it = typeof setImmediate < "u" ? setImmediate : null;
    function Rt(R) {
      for (var J = U(Ze); J !== null; ) {
        if (J.callback === null) v(Ze);
        else if (J.startTime <= R)
          v(Ze), J.sortIndex = J.expirationTime, C(Ee, J);
        else break;
        J = U(Ze);
      }
    }
    function qt(R) {
      if (ht = !1, Rt(R), !We)
        if (U(Ee) !== null)
          We = !0, F || (F = !0, Ce());
        else {
          var J = U(Ze);
          J !== null && Jt(qt, J.startTime - R);
        }
    }
    var F = !1, $ = -1, Ae = 5, te = -1;
    function ft() {
      return de ? !0 : !(V.unstable_now() - te < Ae);
    }
    function Ye() {
      if (de = !1, F) {
        var R = V.unstable_now();
        te = R;
        var J = !0;
        try {
          e: {
            We = !1, ht && (ht = !1, Ie($), $ = -1), Je = !0;
            var W = ye;
            try {
              t: {
                for (Rt(R), He = U(Ee); He !== null && !(He.expirationTime > R && ft()); ) {
                  var ge = He.callback;
                  if (typeof ge == "function") {
                    He.callback = null, ye = He.priorityLevel;
                    var q = ge(
                      He.expirationTime <= R
                    );
                    if (R = V.unstable_now(), typeof q == "function") {
                      He.callback = q, Rt(R), J = !0;
                      break t;
                    }
                    He === U(Ee) && v(Ee), Rt(R);
                  } else v(Ee);
                  He = U(Ee);
                }
                if (He !== null) J = !0;
                else {
                  var oe = U(Ze);
                  oe !== null && Jt(
                    qt,
                    oe.startTime - R
                  ), J = !1;
                }
              }
              break e;
            } finally {
              He = null, ye = W, Je = !1;
            }
            J = void 0;
          }
        } finally {
          J ? Ce() : F = !1;
        }
      }
    }
    var Ce;
    if (typeof it == "function")
      Ce = function() {
        it(Ye);
      };
    else if (typeof MessageChannel < "u") {
      var nl = new MessageChannel(), Yl = nl.port2;
      nl.port1.onmessage = Ye, Ce = function() {
        Yl.postMessage(null);
      };
    } else
      Ce = function() {
        be(Ye, 0);
      };
    function Jt(R, J) {
      $ = be(function() {
        R(V.unstable_now());
      }, J);
    }
    V.unstable_IdlePriority = 5, V.unstable_ImmediatePriority = 1, V.unstable_LowPriority = 4, V.unstable_NormalPriority = 3, V.unstable_Profiling = null, V.unstable_UserBlockingPriority = 2, V.unstable_cancelCallback = function(R) {
      R.callback = null;
    }, V.unstable_forceFrameRate = function(R) {
      0 > R || 125 < R ? console.error(
        "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
      ) : Ae = 0 < R ? Math.floor(1e3 / R) : 5;
    }, V.unstable_getCurrentPriorityLevel = function() {
      return ye;
    }, V.unstable_next = function(R) {
      switch (ye) {
        case 1:
        case 2:
        case 3:
          var J = 3;
          break;
        default:
          J = ye;
      }
      var W = ye;
      ye = J;
      try {
        return R();
      } finally {
        ye = W;
      }
    }, V.unstable_requestPaint = function() {
      de = !0;
    }, V.unstable_runWithPriority = function(R, J) {
      switch (R) {
        case 1:
        case 2:
        case 3:
        case 4:
        case 5:
          break;
        default:
          R = 3;
      }
      var W = ye;
      ye = R;
      try {
        return J();
      } finally {
        ye = W;
      }
    }, V.unstable_scheduleCallback = function(R, J, W) {
      var ge = V.unstable_now();
      switch (typeof W == "object" && W !== null ? (W = W.delay, W = typeof W == "number" && 0 < W ? ge + W : ge) : W = ge, R) {
        case 1:
          var q = -1;
          break;
        case 2:
          q = 250;
          break;
        case 5:
          q = 1073741823;
          break;
        case 4:
          q = 1e4;
          break;
        default:
          q = 5e3;
      }
      return q = W + q, R = {
        id: re++,
        callback: J,
        priorityLevel: R,
        startTime: W,
        expirationTime: q,
        sortIndex: -1
      }, W > ge ? (R.sortIndex = W, C(Ze, R), U(Ee) === null && R === U(Ze) && (ht ? (Ie($), $ = -1) : ht = !0, Jt(qt, W - ge))) : (R.sortIndex = q, C(Ee, R), We || Je || (We = !0, F || (F = !0, Ce()))), R;
    }, V.unstable_shouldYield = ft, V.unstable_wrapCallback = function(R) {
      var J = ye;
      return function() {
        var W = ye;
        ye = J;
        try {
          return R.apply(this, arguments);
        } finally {
          ye = W;
        }
      };
    };
  }(Zv)), Zv;
}
var Xv = {};
/**
 * @license React
 * scheduler.development.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var _1;
function wb() {
  return _1 || (_1 = 1, function(V) {
    process.env.NODE_ENV !== "production" && function() {
      function C() {
        if (qt = !1, te) {
          var R = V.unstable_now();
          Ce = R;
          var J = !0;
          try {
            e: {
              it = !1, Rt && (Rt = !1, $(ft), ft = -1), Ie = !0;
              var W = be;
              try {
                t: {
                  for (le(R), de = v(Je); de !== null && !(de.expirationTime > R && Ee()); ) {
                    var ge = de.callback;
                    if (typeof ge == "function") {
                      de.callback = null, be = de.priorityLevel;
                      var q = ge(
                        de.expirationTime <= R
                      );
                      if (R = V.unstable_now(), typeof q == "function") {
                        de.callback = q, le(R), J = !0;
                        break t;
                      }
                      de === v(Je) && k(Je), le(R);
                    } else k(Je);
                    de = v(Je);
                  }
                  if (de !== null) J = !0;
                  else {
                    var oe = v(We);
                    oe !== null && Ze(
                      Z,
                      oe.startTime - R
                    ), J = !1;
                  }
                }
                break e;
              } finally {
                de = null, be = W, Ie = !1;
              }
              J = void 0;
            }
          } finally {
            J ? nl() : te = !1;
          }
        }
      }
      function U(R, J) {
        var W = R.length;
        R.push(J);
        e: for (; 0 < W; ) {
          var ge = W - 1 >>> 1, q = R[ge];
          if (0 < I(q, J))
            R[ge] = J, R[W] = q, W = ge;
          else break e;
        }
      }
      function v(R) {
        return R.length === 0 ? null : R[0];
      }
      function k(R) {
        if (R.length === 0) return null;
        var J = R[0], W = R.pop();
        if (W !== J) {
          R[0] = W;
          e: for (var ge = 0, q = R.length, oe = q >>> 1; ge < oe; ) {
            var ce = 2 * (ge + 1) - 1, pe = R[ce], Le = ce + 1, yt = R[Le];
            if (0 > I(pe, W))
              Le < q && 0 > I(yt, pe) ? (R[ge] = yt, R[Le] = W, ge = Le) : (R[ge] = pe, R[ce] = W, ge = ce);
            else if (Le < q && 0 > I(yt, W))
              R[ge] = yt, R[Le] = W, ge = Le;
            else break e;
          }
        }
        return J;
      }
      function I(R, J) {
        var W = R.sortIndex - J.sortIndex;
        return W !== 0 ? W : R.id - J.id;
      }
      function le(R) {
        for (var J = v(We); J !== null; ) {
          if (J.callback === null) k(We);
          else if (J.startTime <= R)
            k(We), J.sortIndex = J.expirationTime, U(Je, J);
          else break;
          J = v(We);
        }
      }
      function Z(R) {
        if (Rt = !1, le(R), !it)
          if (v(Je) !== null)
            it = !0, te || (te = !0, nl());
          else {
            var J = v(We);
            J !== null && Ze(
              Z,
              J.startTime - R
            );
          }
      }
      function Ee() {
        return qt ? !0 : !(V.unstable_now() - Ce < Ye);
      }
      function Ze(R, J) {
        ft = F(function() {
          R(V.unstable_now());
        }, J);
      }
      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error()), V.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
        var re = performance;
        V.unstable_now = function() {
          return re.now();
        };
      } else {
        var He = Date, ye = He.now();
        V.unstable_now = function() {
          return He.now() - ye;
        };
      }
      var Je = [], We = [], ht = 1, de = null, be = 3, Ie = !1, it = !1, Rt = !1, qt = !1, F = typeof setTimeout == "function" ? setTimeout : null, $ = typeof clearTimeout == "function" ? clearTimeout : null, Ae = typeof setImmediate < "u" ? setImmediate : null, te = !1, ft = -1, Ye = 5, Ce = -1;
      if (typeof Ae == "function")
        var nl = function() {
          Ae(C);
        };
      else if (typeof MessageChannel < "u") {
        var Yl = new MessageChannel(), Jt = Yl.port2;
        Yl.port1.onmessage = C, nl = function() {
          Jt.postMessage(null);
        };
      } else
        nl = function() {
          F(C, 0);
        };
      V.unstable_IdlePriority = 5, V.unstable_ImmediatePriority = 1, V.unstable_LowPriority = 4, V.unstable_NormalPriority = 3, V.unstable_Profiling = null, V.unstable_UserBlockingPriority = 2, V.unstable_cancelCallback = function(R) {
        R.callback = null;
      }, V.unstable_forceFrameRate = function(R) {
        0 > R || 125 < R ? console.error(
          "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
        ) : Ye = 0 < R ? Math.floor(1e3 / R) : 5;
      }, V.unstable_getCurrentPriorityLevel = function() {
        return be;
      }, V.unstable_next = function(R) {
        switch (be) {
          case 1:
          case 2:
          case 3:
            var J = 3;
            break;
          default:
            J = be;
        }
        var W = be;
        be = J;
        try {
          return R();
        } finally {
          be = W;
        }
      }, V.unstable_requestPaint = function() {
        qt = !0;
      }, V.unstable_runWithPriority = function(R, J) {
        switch (R) {
          case 1:
          case 2:
          case 3:
          case 4:
          case 5:
            break;
          default:
            R = 3;
        }
        var W = be;
        be = R;
        try {
          return J();
        } finally {
          be = W;
        }
      }, V.unstable_scheduleCallback = function(R, J, W) {
        var ge = V.unstable_now();
        switch (typeof W == "object" && W !== null ? (W = W.delay, W = typeof W == "number" && 0 < W ? ge + W : ge) : W = ge, R) {
          case 1:
            var q = -1;
            break;
          case 2:
            q = 250;
            break;
          case 5:
            q = 1073741823;
            break;
          case 4:
            q = 1e4;
            break;
          default:
            q = 5e3;
        }
        return q = W + q, R = {
          id: ht++,
          callback: J,
          priorityLevel: R,
          startTime: W,
          expirationTime: q,
          sortIndex: -1
        }, W > ge ? (R.sortIndex = W, U(We, R), v(Je) === null && R === v(We) && (Rt ? ($(ft), ft = -1) : Rt = !0, Ze(Z, W - ge))) : (R.sortIndex = q, U(Je, R), it || Ie || (it = !0, te || (te = !0, nl()))), R;
      }, V.unstable_shouldYield = Ee, V.unstable_wrapCallback = function(R) {
        var J = be;
        return function() {
          var W = be;
          be = J;
          try {
            return R.apply(this, arguments);
          } finally {
            be = W;
          }
        };
      }, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
    }();
  }(Xv)), Xv;
}
var P1;
function fS() {
  return P1 || (P1 = 1, process.env.NODE_ENV === "production" ? pp.exports = Nb() : pp.exports = wb()), pp.exports;
}
/**
 * @license React
 * react-dom-client.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var $1;
function qb() {
  if ($1) return h0;
  $1 = 1;
  var V = fS(), C = Sp, U = oS;
  function v(l) {
    var a = "https://react.dev/errors/" + l;
    if (1 < arguments.length) {
      a += "?args[]=" + encodeURIComponent(arguments[1]);
      for (var u = 2; u < arguments.length; u++)
        a += "&args[]=" + encodeURIComponent(arguments[u]);
    }
    return "Minified React error #" + l + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
  }
  function k(l) {
    return !(!l || l.nodeType !== 1 && l.nodeType !== 9 && l.nodeType !== 11);
  }
  function I(l) {
    var a = l, u = l;
    if (l.alternate) for (; a.return; ) a = a.return;
    else {
      l = a;
      do
        a = l, (a.flags & 4098) !== 0 && (u = a.return), l = a.return;
      while (l);
    }
    return a.tag === 3 ? u : null;
  }
  function le(l) {
    if (l.tag === 13) {
      var a = l.memoizedState;
      if (a === null && (l = l.alternate, l !== null && (a = l.memoizedState)), a !== null) return a.dehydrated;
    }
    return null;
  }
  function Z(l) {
    if (I(l) !== l)
      throw Error(v(188));
  }
  function Ee(l) {
    var a = l.alternate;
    if (!a) {
      if (a = I(l), a === null) throw Error(v(188));
      return a !== l ? null : l;
    }
    for (var u = l, c = a; ; ) {
      var s = u.return;
      if (s === null) break;
      var r = s.alternate;
      if (r === null) {
        if (c = s.return, c !== null) {
          u = c;
          continue;
        }
        break;
      }
      if (s.child === r.child) {
        for (r = s.child; r; ) {
          if (r === u) return Z(s), l;
          if (r === c) return Z(s), a;
          r = r.sibling;
        }
        throw Error(v(188));
      }
      if (u.return !== c.return) u = s, c = r;
      else {
        for (var y = !1, g = s.child; g; ) {
          if (g === u) {
            y = !0, u = s, c = r;
            break;
          }
          if (g === c) {
            y = !0, c = s, u = r;
            break;
          }
          g = g.sibling;
        }
        if (!y) {
          for (g = r.child; g; ) {
            if (g === u) {
              y = !0, u = r, c = s;
              break;
            }
            if (g === c) {
              y = !0, c = r, u = s;
              break;
            }
            g = g.sibling;
          }
          if (!y) throw Error(v(189));
        }
      }
      if (u.alternate !== c) throw Error(v(190));
    }
    if (u.tag !== 3) throw Error(v(188));
    return u.stateNode.current === u ? l : a;
  }
  function Ze(l) {
    var a = l.tag;
    if (a === 5 || a === 26 || a === 27 || a === 6) return l;
    for (l = l.child; l !== null; ) {
      if (a = Ze(l), a !== null) return a;
      l = l.sibling;
    }
    return null;
  }
  var re = Object.assign, He = Symbol.for("react.element"), ye = Symbol.for("react.transitional.element"), Je = Symbol.for("react.portal"), We = Symbol.for("react.fragment"), ht = Symbol.for("react.strict_mode"), de = Symbol.for("react.profiler"), be = Symbol.for("react.provider"), Ie = Symbol.for("react.consumer"), it = Symbol.for("react.context"), Rt = Symbol.for("react.forward_ref"), qt = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), Ae = Symbol.for("react.lazy"), te = Symbol.for("react.activity"), ft = Symbol.for("react.memo_cache_sentinel"), Ye = Symbol.iterator;
  function Ce(l) {
    return l === null || typeof l != "object" ? null : (l = Ye && l[Ye] || l["@@iterator"], typeof l == "function" ? l : null);
  }
  var nl = Symbol.for("react.client.reference");
  function Yl(l) {
    if (l == null) return null;
    if (typeof l == "function")
      return l.$$typeof === nl ? null : l.displayName || l.name || null;
    if (typeof l == "string") return l;
    switch (l) {
      case We:
        return "Fragment";
      case de:
        return "Profiler";
      case ht:
        return "StrictMode";
      case qt:
        return "Suspense";
      case F:
        return "SuspenseList";
      case te:
        return "Activity";
    }
    if (typeof l == "object")
      switch (l.$$typeof) {
        case Je:
          return "Portal";
        case it:
          return (l.displayName || "Context") + ".Provider";
        case Ie:
          return (l._context.displayName || "Context") + ".Consumer";
        case Rt:
          var a = l.render;
          return l = l.displayName, l || (l = a.displayName || a.name || "", l = l !== "" ? "ForwardRef(" + l + ")" : "ForwardRef"), l;
        case $:
          return a = l.displayName || null, a !== null ? a : Yl(l.type) || "Memo";
        case Ae:
          a = l._payload, l = l._init;
          try {
            return Yl(l(a));
          } catch {
          }
      }
    return null;
  }
  var Jt = Array.isArray, R = C.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = U.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, W = {
    pending: !1,
    data: null,
    method: null,
    action: null
  }, ge = [], q = -1;
  function oe(l) {
    return { current: l };
  }
  function ce(l) {
    0 > q || (l.current = ge[q], ge[q] = null, q--);
  }
  function pe(l, a) {
    q++, ge[q] = l.current, l.current = a;
  }
  var Le = oe(null), yt = oe(null), sa = oe(null), Fn = oe(null);
  function Dt(l, a) {
    switch (pe(sa, a), pe(yt, l), pe(Le, null), a.nodeType) {
      case 9:
      case 11:
        l = (l = a.documentElement) && (l = l.namespaceURI) ? Ag(l) : 0;
        break;
      default:
        if (l = a.tagName, a = a.namespaceURI)
          a = Ag(a), l = Hd(a, l);
        else
          switch (l) {
            case "svg":
              l = 1;
              break;
            case "math":
              l = 2;
              break;
            default:
              l = 0;
          }
    }
    ce(Le), pe(Le, l);
  }
  function ra() {
    ce(Le), ce(yt), ce(sa);
  }
  function ae(l) {
    l.memoizedState !== null && pe(Fn, l);
    var a = Le.current, u = Hd(a, l.type);
    a !== u && (pe(yt, l), pe(Le, u));
  }
  function Uu(l) {
    yt.current === l && (ce(Le), ce(yt)), Fn.current === l && (ce(Fn), Dc._currentValue = W);
  }
  var Jc, nf;
  function fn(l) {
    if (Jc === void 0)
      try {
        throw Error();
      } catch (u) {
        var a = u.stack.trim().match(/\n( *(at )?)/);
        Jc = a && a[1] || "", nf = -1 < u.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < u.stack.indexOf("@") ? "@unknown:0:0" : "";
      }
    return `
` + Jc + l + nf;
  }
  var ct = !1;
  function uf(l, a) {
    if (!l || ct) return "";
    ct = !0;
    var u = Error.prepareStackTrace;
    Error.prepareStackTrace = void 0;
    try {
      var c = {
        DetermineComponentFrameRoot: function() {
          try {
            if (a) {
              var X = function() {
                throw Error();
              };
              if (Object.defineProperty(X.prototype, "props", {
                set: function() {
                  throw Error();
                }
              }), typeof Reflect == "object" && Reflect.construct) {
                try {
                  Reflect.construct(X, []);
                } catch (x) {
                  var M = x;
                }
                Reflect.construct(l, [], X);
              } else {
                try {
                  X.call();
                } catch (x) {
                  M = x;
                }
                l.call(X.prototype);
              }
            } else {
              try {
                throw Error();
              } catch (x) {
                M = x;
              }
              (X = l()) && typeof X.catch == "function" && X.catch(function() {
              });
            }
          } catch (x) {
            if (x && M && typeof x.stack == "string")
              return [x.stack, M.stack];
          }
          return [null, null];
        }
      };
      c.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
      var s = Object.getOwnPropertyDescriptor(
        c.DetermineComponentFrameRoot,
        "name"
      );
      s && s.configurable && Object.defineProperty(
        c.DetermineComponentFrameRoot,
        "name",
        { value: "DetermineComponentFrameRoot" }
      );
      var r = c.DetermineComponentFrameRoot(), y = r[0], g = r[1];
      if (y && g) {
        var A = y.split(`
`), z = g.split(`
`);
        for (s = c = 0; c < A.length && !A[c].includes("DetermineComponentFrameRoot"); )
          c++;
        for (; s < z.length && !z[s].includes(
          "DetermineComponentFrameRoot"
        ); )
          s++;
        if (c === A.length || s === z.length)
          for (c = A.length - 1, s = z.length - 1; 1 <= c && 0 <= s && A[c] !== z[s]; )
            s--;
        for (; 1 <= c && 0 <= s; c--, s--)
          if (A[c] !== z[s]) {
            if (c !== 1 || s !== 1)
              do
                if (c--, s--, 0 > s || A[c] !== z[s]) {
                  var j = `
` + A[c].replace(" at new ", " at ");
                  return l.displayName && j.includes("<anonymous>") && (j = j.replace("<anonymous>", l.displayName)), j;
                }
              while (1 <= c && 0 <= s);
            break;
          }
      }
    } finally {
      ct = !1, Error.prepareStackTrace = u;
    }
    return (u = l ? l.displayName || l.name : "") ? fn(u) : "";
  }
  function Ps(l) {
    switch (l.tag) {
      case 26:
      case 27:
      case 5:
        return fn(l.type);
      case 16:
        return fn("Lazy");
      case 13:
        return fn("Suspense");
      case 19:
        return fn("SuspenseList");
      case 0:
      case 15:
        return uf(l.type, !1);
      case 11:
        return uf(l.type.render, !1);
      case 1:
        return uf(l.type, !0);
      case 31:
        return fn("Activity");
      default:
        return "";
    }
  }
  function v0(l) {
    try {
      var a = "";
      do
        a += Ps(l), l = l.return;
      while (l);
      return a;
    } catch (u) {
      return `
Error generating stack: ` + u.message + `
` + u.stack;
    }
  }
  var mt = Object.prototype.hasOwnProperty, Oh = V.unstable_scheduleCallback, $s = V.unstable_cancelCallback, cf = V.unstable_shouldYield, kc = V.unstable_requestPaint, Ya = V.unstable_now, A0 = V.unstable_getCurrentPriorityLevel, Kc = V.unstable_ImmediatePriority, S0 = V.unstable_UserBlockingPriority, er = V.unstable_NormalPriority, Ci = V.unstable_LowPriority, of = V.unstable_IdlePriority, ff = V.log, bp = V.unstable_setDisableYieldValue, Wc = null, Wl = null;
  function sn(l) {
    if (typeof ff == "function" && bp(l), Wl && typeof Wl.setStrictMode == "function")
      try {
        Wl.setStrictMode(Wc, l);
      } catch {
      }
  }
  var hl = Math.clz32 ? Math.clz32 : E0, Ep = Math.log, b0 = Math.LN2;
  function E0(l) {
    return l >>>= 0, l === 0 ? 32 : 31 - (Ep(l) / b0 | 0) | 0;
  }
  var Ic = 256, sf = 4194304;
  function Mu(l) {
    var a = l & 42;
    if (a !== 0) return a;
    switch (l & -l) {
      case 1:
        return 1;
      case 2:
        return 2;
      case 4:
        return 4;
      case 8:
        return 8;
      case 16:
        return 16;
      case 32:
        return 32;
      case 64:
        return 64;
      case 128:
        return 128;
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return l & 4194048;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        return l & 62914560;
      case 67108864:
        return 67108864;
      case 134217728:
        return 134217728;
      case 268435456:
        return 268435456;
      case 536870912:
        return 536870912;
      case 1073741824:
        return 0;
      default:
        return l;
    }
  }
  function Fc(l, a, u) {
    var c = l.pendingLanes;
    if (c === 0) return 0;
    var s = 0, r = l.suspendedLanes, y = l.pingedLanes;
    l = l.warmLanes;
    var g = c & 134217727;
    return g !== 0 ? (c = g & ~r, c !== 0 ? s = Mu(c) : (y &= g, y !== 0 ? s = Mu(y) : u || (u = g & ~l, u !== 0 && (s = Mu(u))))) : (g = c & ~r, g !== 0 ? s = Mu(g) : y !== 0 ? s = Mu(y) : u || (u = c & ~l, u !== 0 && (s = Mu(u)))), s === 0 ? 0 : a !== 0 && a !== s && (a & r) === 0 && (r = s & -s, u = a & -a, r >= u || r === 32 && (u & 4194048) !== 0) ? a : s;
  }
  function _c(l, a) {
    return (l.pendingLanes & ~(l.suspendedLanes & ~l.pingedLanes) & a) === 0;
  }
  function Tp(l, a) {
    switch (l) {
      case 1:
      case 2:
      case 4:
      case 8:
      case 64:
        return a + 250;
      case 16:
      case 32:
      case 128:
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
        return a + 5e3;
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        return -1;
      case 67108864:
      case 134217728:
      case 268435456:
      case 536870912:
      case 1073741824:
        return -1;
      default:
        return -1;
    }
  }
  function tr() {
    var l = Ic;
    return Ic <<= 1, (Ic & 4194048) === 0 && (Ic = 256), l;
  }
  function Ri() {
    var l = sf;
    return sf <<= 1, (sf & 62914560) === 0 && (sf = 4194304), l;
  }
  function rn(l) {
    for (var a = [], u = 0; 31 > u; u++) a.push(l);
    return a;
  }
  function _n(l, a) {
    l.pendingLanes |= a, a !== 268435456 && (l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0);
  }
  function Pc(l, a, u, c, s, r) {
    var y = l.pendingLanes;
    l.pendingLanes = u, l.suspendedLanes = 0, l.pingedLanes = 0, l.warmLanes = 0, l.expiredLanes &= u, l.entangledLanes &= u, l.errorRecoveryDisabledLanes &= u, l.shellSuspendCounter = 0;
    var g = l.entanglements, A = l.expirationTimes, z = l.hiddenUpdates;
    for (u = y & ~u; 0 < u; ) {
      var j = 31 - hl(u), X = 1 << j;
      g[j] = 0, A[j] = -1;
      var M = z[j];
      if (M !== null)
        for (z[j] = null, j = 0; j < M.length; j++) {
          var x = M[j];
          x !== null && (x.lane &= -536870913);
        }
      u &= ~X;
    }
    c !== 0 && kt(l, c, 0), r !== 0 && s === 0 && l.tag !== 0 && (l.suspendedLanes |= r & ~(y & ~a));
  }
  function kt(l, a, u) {
    l.pendingLanes |= a, l.suspendedLanes &= ~a;
    var c = 31 - hl(a);
    l.entangledLanes |= a, l.entanglements[c] = l.entanglements[c] | 1073741824 | u & 4194090;
  }
  function Bu(l, a) {
    var u = l.entangledLanes |= a;
    for (l = l.entanglements; u; ) {
      var c = 31 - hl(u), s = 1 << c;
      s & a | l[c] & a && (l[c] |= a), u &= ~s;
    }
  }
  function xu(l) {
    switch (l) {
      case 2:
        l = 1;
        break;
      case 8:
        l = 4;
        break;
      case 32:
        l = 16;
        break;
      case 256:
      case 512:
      case 1024:
      case 2048:
      case 4096:
      case 8192:
      case 16384:
      case 32768:
      case 65536:
      case 131072:
      case 262144:
      case 524288:
      case 1048576:
      case 2097152:
      case 4194304:
      case 8388608:
      case 16777216:
      case 33554432:
        l = 128;
        break;
      case 268435456:
        l = 134217728;
        break;
      default:
        l = 0;
    }
    return l;
  }
  function Hu(l) {
    return l &= -l, 2 < l ? 8 < l ? (l & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
  }
  function lr() {
    var l = J.p;
    return l !== 0 ? l : (l = window.event, l === void 0 ? 32 : Og(l.type));
  }
  function T0(l, a) {
    var u = J.p;
    try {
      return J.p = l, a();
    } finally {
      J.p = u;
    }
  }
  var La = Math.random().toString(36).slice(2), Kt = "__reactFiber$" + La, xt = "__reactProps$" + La, yl = "__reactContainer$" + La, ar = "__reactEvents$" + La, Cp = "__reactListeners$" + La, nr = "__reactHandles$" + La, zh = "__reactResources$" + La, Qu = "__reactMarker$" + La;
  function Il(l) {
    delete l[Kt], delete l[xt], delete l[ar], delete l[Cp], delete l[nr];
  }
  function Di(l) {
    var a = l[Kt];
    if (a) return a;
    for (var u = l.parentNode; u; ) {
      if (a = u[yl] || u[Kt]) {
        if (u = a.alternate, a.child !== null || u !== null && u.child !== null)
          for (l = wd(l); l !== null; ) {
            if (u = l[Kt]) return u;
            l = wd(l);
          }
        return a;
      }
      l = u, u = l.parentNode;
    }
    return null;
  }
  function Nu(l) {
    if (l = l[Kt] || l[yl]) {
      var a = l.tag;
      if (a === 5 || a === 6 || a === 13 || a === 26 || a === 27 || a === 3)
        return l;
    }
    return null;
  }
  function $c(l) {
    var a = l.tag;
    if (a === 5 || a === 26 || a === 27 || a === 6) return l.stateNode;
    throw Error(v(33));
  }
  function wu(l) {
    var a = l[zh];
    return a || (a = l[zh] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), a;
  }
  function Wt(l) {
    l[Qu] = !0;
  }
  var Uh = /* @__PURE__ */ new Set(), Oi = {};
  function qu(l, a) {
    zi(l, a), zi(l + "Capture", a);
  }
  function zi(l, a) {
    for (Oi[l] = a, l = 0; l < a.length; l++)
      Uh.add(a[l]);
  }
  var C0 = RegExp(
    "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
  ), Mh = {}, Bh = {};
  function da(l) {
    return mt.call(Bh, l) ? !0 : mt.call(Mh, l) ? !1 : C0.test(l) ? Bh[l] = !0 : (Mh[l] = !0, !1);
  }
  function Pn(l, a, u) {
    if (da(a))
      if (u === null) l.removeAttribute(a);
      else {
        switch (typeof u) {
          case "undefined":
          case "function":
          case "symbol":
            l.removeAttribute(a);
            return;
          case "boolean":
            var c = a.toLowerCase().slice(0, 5);
            if (c !== "data-" && c !== "aria-") {
              l.removeAttribute(a);
              return;
            }
        }
        l.setAttribute(a, "" + u);
      }
  }
  function dn(l, a, u) {
    if (u === null) l.removeAttribute(a);
    else {
      switch (typeof u) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          l.removeAttribute(a);
          return;
      }
      l.setAttribute(a, "" + u);
    }
  }
  function hn(l, a, u, c) {
    if (c === null) l.removeAttribute(u);
    else {
      switch (typeof c) {
        case "undefined":
        case "function":
        case "symbol":
        case "boolean":
          l.removeAttribute(u);
          return;
      }
      l.setAttributeNS(a, u, "" + c);
    }
  }
  function Dl(l) {
    switch (typeof l) {
      case "bigint":
      case "boolean":
      case "number":
      case "string":
      case "undefined":
        return l;
      case "object":
        return l;
      default:
        return "";
    }
  }
  function rf(l) {
    var a = l.type;
    return (l = l.nodeName) && l.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
  }
  function xh(l) {
    var a = rf(l) ? "checked" : "value", u = Object.getOwnPropertyDescriptor(
      l.constructor.prototype,
      a
    ), c = "" + l[a];
    if (!l.hasOwnProperty(a) && typeof u < "u" && typeof u.get == "function" && typeof u.set == "function") {
      var s = u.get, r = u.set;
      return Object.defineProperty(l, a, {
        configurable: !0,
        get: function() {
          return s.call(this);
        },
        set: function(y) {
          c = "" + y, r.call(this, y);
        }
      }), Object.defineProperty(l, a, {
        enumerable: u.enumerable
      }), {
        getValue: function() {
          return c;
        },
        setValue: function(y) {
          c = "" + y;
        },
        stopTracking: function() {
          l._valueTracker = null, delete l[a];
        }
      };
    }
  }
  function Yu(l) {
    l._valueTracker || (l._valueTracker = xh(l));
  }
  function Ui(l) {
    if (!l) return !1;
    var a = l._valueTracker;
    if (!a) return !0;
    var u = a.getValue(), c = "";
    return l && (c = rf(l) ? l.checked ? "true" : "false" : l.value), l = c, l !== u ? (a.setValue(l), !0) : !1;
  }
  function eo(l) {
    if (l = l || (typeof document < "u" ? document : void 0), typeof l > "u") return null;
    try {
      return l.activeElement || l.body;
    } catch {
      return l.body;
    }
  }
  var Rp = /[\n"\\]/g;
  function Ca(l) {
    return l.replace(
      Rp,
      function(a) {
        return "\\" + a.charCodeAt(0).toString(16) + " ";
      }
    );
  }
  function ur(l, a, u, c, s, r, y, g) {
    l.name = "", y != null && typeof y != "function" && typeof y != "symbol" && typeof y != "boolean" ? l.type = y : l.removeAttribute("type"), a != null ? y === "number" ? (a === 0 && l.value === "" || l.value != a) && (l.value = "" + Dl(a)) : l.value !== "" + Dl(a) && (l.value = "" + Dl(a)) : y !== "submit" && y !== "reset" || l.removeAttribute("value"), a != null ? df(l, y, Dl(a)) : u != null ? df(l, y, Dl(u)) : c != null && l.removeAttribute("value"), s == null && r != null && (l.defaultChecked = !!r), s != null && (l.checked = s && typeof s != "function" && typeof s != "symbol"), g != null && typeof g != "function" && typeof g != "symbol" && typeof g != "boolean" ? l.name = "" + Dl(g) : l.removeAttribute("name");
  }
  function ir(l, a, u, c, s, r, y, g) {
    if (r != null && typeof r != "function" && typeof r != "symbol" && typeof r != "boolean" && (l.type = r), a != null || u != null) {
      if (!(r !== "submit" && r !== "reset" || a != null))
        return;
      u = u != null ? "" + Dl(u) : "", a = a != null ? "" + Dl(a) : u, g || a === l.value || (l.value = a), l.defaultValue = a;
    }
    c = c ?? s, c = typeof c != "function" && typeof c != "symbol" && !!c, l.checked = g ? l.checked : !!c, l.defaultChecked = !!c, y != null && typeof y != "function" && typeof y != "symbol" && typeof y != "boolean" && (l.name = y);
  }
  function df(l, a, u) {
    a === "number" && eo(l.ownerDocument) === l || l.defaultValue === "" + u || (l.defaultValue = "" + u);
  }
  function Mi(l, a, u, c) {
    if (l = l.options, a) {
      a = {};
      for (var s = 0; s < u.length; s++)
        a["$" + u[s]] = !0;
      for (u = 0; u < l.length; u++)
        s = a.hasOwnProperty("$" + l[u].value), l[u].selected !== s && (l[u].selected = s), s && c && (l[u].defaultSelected = !0);
    } else {
      for (u = "" + Dl(u), a = null, s = 0; s < l.length; s++) {
        if (l[s].value === u) {
          l[s].selected = !0, c && (l[s].defaultSelected = !0);
          return;
        }
        a !== null || l[s].disabled || (a = l[s]);
      }
      a !== null && (a.selected = !0);
    }
  }
  function Hh(l, a, u) {
    if (a != null && (a = "" + Dl(a), a !== l.value && (l.value = a), u == null)) {
      l.defaultValue !== a && (l.defaultValue = a);
      return;
    }
    l.defaultValue = u != null ? "" + Dl(u) : "";
  }
  function Qh(l, a, u, c) {
    if (a == null) {
      if (c != null) {
        if (u != null) throw Error(v(92));
        if (Jt(c)) {
          if (1 < c.length) throw Error(v(93));
          c = c[0];
        }
        u = c;
      }
      u == null && (u = ""), a = u;
    }
    u = Dl(a), l.defaultValue = u, c = l.textContent, c === u && c !== "" && c !== null && (l.value = c);
  }
  function to(l, a) {
    if (a) {
      var u = l.firstChild;
      if (u && u === l.lastChild && u.nodeType === 3) {
        u.nodeValue = a;
        return;
      }
    }
    l.textContent = a;
  }
  var R0 = new Set(
    "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
      " "
    )
  );
  function cr(l, a, u) {
    var c = a.indexOf("--") === 0;
    u == null || typeof u == "boolean" || u === "" ? c ? l.setProperty(a, "") : a === "float" ? l.cssFloat = "" : l[a] = "" : c ? l.setProperty(a, u) : typeof u != "number" || u === 0 || R0.has(a) ? a === "float" ? l.cssFloat = u : l[a] = ("" + u).trim() : l[a] = u + "px";
  }
  function hf(l, a, u) {
    if (a != null && typeof a != "object")
      throw Error(v(62));
    if (l = l.style, u != null) {
      for (var c in u)
        !u.hasOwnProperty(c) || a != null && a.hasOwnProperty(c) || (c.indexOf("--") === 0 ? l.setProperty(c, "") : c === "float" ? l.cssFloat = "" : l[c] = "");
      for (var s in a)
        c = a[s], a.hasOwnProperty(s) && u[s] !== c && cr(l, s, c);
    } else
      for (var r in a)
        a.hasOwnProperty(r) && cr(l, r, a[r]);
  }
  function Bi(l) {
    if (l.indexOf("-") === -1) return !1;
    switch (l) {
      case "annotation-xml":
      case "color-profile":
      case "font-face":
      case "font-face-src":
      case "font-face-uri":
      case "font-face-format":
      case "font-face-name":
      case "missing-glyph":
        return !1;
      default:
        return !0;
    }
  }
  var Dp = /* @__PURE__ */ new Map([
    ["acceptCharset", "accept-charset"],
    ["htmlFor", "for"],
    ["httpEquiv", "http-equiv"],
    ["crossOrigin", "crossorigin"],
    ["accentHeight", "accent-height"],
    ["alignmentBaseline", "alignment-baseline"],
    ["arabicForm", "arabic-form"],
    ["baselineShift", "baseline-shift"],
    ["capHeight", "cap-height"],
    ["clipPath", "clip-path"],
    ["clipRule", "clip-rule"],
    ["colorInterpolation", "color-interpolation"],
    ["colorInterpolationFilters", "color-interpolation-filters"],
    ["colorProfile", "color-profile"],
    ["colorRendering", "color-rendering"],
    ["dominantBaseline", "dominant-baseline"],
    ["enableBackground", "enable-background"],
    ["fillOpacity", "fill-opacity"],
    ["fillRule", "fill-rule"],
    ["floodColor", "flood-color"],
    ["floodOpacity", "flood-opacity"],
    ["fontFamily", "font-family"],
    ["fontSize", "font-size"],
    ["fontSizeAdjust", "font-size-adjust"],
    ["fontStretch", "font-stretch"],
    ["fontStyle", "font-style"],
    ["fontVariant", "font-variant"],
    ["fontWeight", "font-weight"],
    ["glyphName", "glyph-name"],
    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
    ["glyphOrientationVertical", "glyph-orientation-vertical"],
    ["horizAdvX", "horiz-adv-x"],
    ["horizOriginX", "horiz-origin-x"],
    ["imageRendering", "image-rendering"],
    ["letterSpacing", "letter-spacing"],
    ["lightingColor", "lighting-color"],
    ["markerEnd", "marker-end"],
    ["markerMid", "marker-mid"],
    ["markerStart", "marker-start"],
    ["overlinePosition", "overline-position"],
    ["overlineThickness", "overline-thickness"],
    ["paintOrder", "paint-order"],
    ["panose-1", "panose-1"],
    ["pointerEvents", "pointer-events"],
    ["renderingIntent", "rendering-intent"],
    ["shapeRendering", "shape-rendering"],
    ["stopColor", "stop-color"],
    ["stopOpacity", "stop-opacity"],
    ["strikethroughPosition", "strikethrough-position"],
    ["strikethroughThickness", "strikethrough-thickness"],
    ["strokeDasharray", "stroke-dasharray"],
    ["strokeDashoffset", "stroke-dashoffset"],
    ["strokeLinecap", "stroke-linecap"],
    ["strokeLinejoin", "stroke-linejoin"],
    ["strokeMiterlimit", "stroke-miterlimit"],
    ["strokeOpacity", "stroke-opacity"],
    ["strokeWidth", "stroke-width"],
    ["textAnchor", "text-anchor"],
    ["textDecoration", "text-decoration"],
    ["textRendering", "text-rendering"],
    ["transformOrigin", "transform-origin"],
    ["underlinePosition", "underline-position"],
    ["underlineThickness", "underline-thickness"],
    ["unicodeBidi", "unicode-bidi"],
    ["unicodeRange", "unicode-range"],
    ["unitsPerEm", "units-per-em"],
    ["vAlphabetic", "v-alphabetic"],
    ["vHanging", "v-hanging"],
    ["vIdeographic", "v-ideographic"],
    ["vMathematical", "v-mathematical"],
    ["vectorEffect", "vector-effect"],
    ["vertAdvY", "vert-adv-y"],
    ["vertOriginX", "vert-origin-x"],
    ["vertOriginY", "vert-origin-y"],
    ["wordSpacing", "word-spacing"],
    ["writingMode", "writing-mode"],
    ["xmlnsXlink", "xmlns:xlink"],
    ["xHeight", "x-height"]
  ]), D0 = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
  function yf(l) {
    return D0.test("" + l) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : l;
  }
  var xi = null;
  function or(l) {
    return l = l.target || l.srcElement || window, l.correspondingUseElement && (l = l.correspondingUseElement), l.nodeType === 3 ? l.parentNode : l;
  }
  var lo = null, ao = null;
  function O0(l) {
    var a = Nu(l);
    if (a && (l = a.stateNode)) {
      var u = l[xt] || null;
      e: switch (l = a.stateNode, a.type) {
        case "input":
          if (ur(
            l,
            u.value,
            u.defaultValue,
            u.defaultValue,
            u.checked,
            u.defaultChecked,
            u.type,
            u.name
          ), a = u.name, u.type === "radio" && a != null) {
            for (u = l; u.parentNode; ) u = u.parentNode;
            for (u = u.querySelectorAll(
              'input[name="' + Ca(
                "" + a
              ) + '"][type="radio"]'
            ), a = 0; a < u.length; a++) {
              var c = u[a];
              if (c !== l && c.form === l.form) {
                var s = c[xt] || null;
                if (!s) throw Error(v(90));
                ur(
                  c,
                  s.value,
                  s.defaultValue,
                  s.defaultValue,
                  s.checked,
                  s.defaultChecked,
                  s.type,
                  s.name
                );
              }
            }
            for (a = 0; a < u.length; a++)
              c = u[a], c.form === l.form && Ui(c);
          }
          break e;
        case "textarea":
          Hh(l, u.value, u.defaultValue);
          break e;
        case "select":
          a = u.value, a != null && Mi(l, !!u.multiple, a, !1);
      }
    }
  }
  var Nh = !1;
  function no(l, a, u) {
    if (Nh) return l(a, u);
    Nh = !0;
    try {
      var c = l(a);
      return c;
    } finally {
      if (Nh = !1, (lo !== null || ao !== null) && (Td(), lo && (a = lo, l = ao, ao = lo = null, O0(a), l)))
        for (a = 0; a < l.length; a++) O0(l[a]);
    }
  }
  function Hi(l, a) {
    var u = l.stateNode;
    if (u === null) return null;
    var c = u[xt] || null;
    if (c === null) return null;
    u = c[a];
    e: switch (a) {
      case "onClick":
      case "onClickCapture":
      case "onDoubleClick":
      case "onDoubleClickCapture":
      case "onMouseDown":
      case "onMouseDownCapture":
      case "onMouseMove":
      case "onMouseMoveCapture":
      case "onMouseUp":
      case "onMouseUpCapture":
      case "onMouseEnter":
        (c = !c.disabled) || (l = l.type, c = !(l === "button" || l === "input" || l === "select" || l === "textarea")), l = !c;
        break e;
      default:
        l = !1;
    }
    if (l) return null;
    if (u && typeof u != "function")
      throw Error(
        v(231, a, typeof u)
      );
    return u;
  }
  var yn = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), fr = !1;
  if (yn)
    try {
      var $n = {};
      Object.defineProperty($n, "passive", {
        get: function() {
          fr = !0;
        }
      }), window.addEventListener("test", $n, $n), window.removeEventListener("test", $n, $n);
    } catch {
      fr = !1;
    }
  var eu = null, uo = null, Qi = null;
  function wh() {
    if (Qi) return Qi;
    var l, a = uo, u = a.length, c, s = "value" in eu ? eu.value : eu.textContent, r = s.length;
    for (l = 0; l < u && a[l] === s[l]; l++) ;
    var y = u - l;
    for (c = 1; c <= y && a[u - c] === s[r - c]; c++) ;
    return Qi = s.slice(l, 1 < c ? 1 - c : void 0);
  }
  function ml(l) {
    var a = l.keyCode;
    return "charCode" in l ? (l = l.charCode, l === 0 && a === 13 && (l = 13)) : l = a, l === 10 && (l = 13), 32 <= l || l === 13 ? l : 0;
  }
  function sr() {
    return !0;
  }
  function rr() {
    return !1;
  }
  function Ll(l) {
    function a(u, c, s, r, y) {
      this._reactName = u, this._targetInst = s, this.type = c, this.nativeEvent = r, this.target = y, this.currentTarget = null;
      for (var g in l)
        l.hasOwnProperty(g) && (u = l[g], this[g] = u ? u(r) : r[g]);
      return this.isDefaultPrevented = (r.defaultPrevented != null ? r.defaultPrevented : r.returnValue === !1) ? sr : rr, this.isPropagationStopped = rr, this;
    }
    return re(a.prototype, {
      preventDefault: function() {
        this.defaultPrevented = !0;
        var u = this.nativeEvent;
        u && (u.preventDefault ? u.preventDefault() : typeof u.returnValue != "unknown" && (u.returnValue = !1), this.isDefaultPrevented = sr);
      },
      stopPropagation: function() {
        var u = this.nativeEvent;
        u && (u.stopPropagation ? u.stopPropagation() : typeof u.cancelBubble != "unknown" && (u.cancelBubble = !0), this.isPropagationStopped = sr);
      },
      persist: function() {
      },
      isPersistent: sr
    }), a;
  }
  var Lu = {
    eventPhase: 0,
    bubbles: 0,
    cancelable: 0,
    timeStamp: function(l) {
      return l.timeStamp || Date.now();
    },
    defaultPrevented: 0,
    isTrusted: 0
  }, dr = Ll(Lu), mf = re({}, Lu, { view: 0, detail: 0 }), z0 = Ll(mf), qh, hr, gf, Ni = re({}, mf, {
    screenX: 0,
    screenY: 0,
    clientX: 0,
    clientY: 0,
    pageX: 0,
    pageY: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    getModifierState: tu,
    button: 0,
    buttons: 0,
    relatedTarget: function(l) {
      return l.relatedTarget === void 0 ? l.fromElement === l.srcElement ? l.toElement : l.fromElement : l.relatedTarget;
    },
    movementX: function(l) {
      return "movementX" in l ? l.movementX : (l !== gf && (gf && l.type === "mousemove" ? (qh = l.screenX - gf.screenX, hr = l.screenY - gf.screenY) : hr = qh = 0, gf = l), qh);
    },
    movementY: function(l) {
      return "movementY" in l ? l.movementY : hr;
    }
  }), Yh = Ll(Ni), U0 = re({}, Ni, { dataTransfer: 0 }), M0 = Ll(U0), Op = re({}, mf, { relatedTarget: 0 }), Lh = Ll(Op), zp = re({}, Lu, {
    animationName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }), Up = Ll(zp), Mp = re({}, Lu, {
    clipboardData: function(l) {
      return "clipboardData" in l ? l.clipboardData : window.clipboardData;
    }
  }), pf = Ll(Mp), B0 = re({}, Lu, { data: 0 }), jh = Ll(B0), x0 = {
    Esc: "Escape",
    Spacebar: " ",
    Left: "ArrowLeft",
    Up: "ArrowUp",
    Right: "ArrowRight",
    Down: "ArrowDown",
    Del: "Delete",
    Win: "OS",
    Menu: "ContextMenu",
    Apps: "ContextMenu",
    Scroll: "ScrollLock",
    MozPrintableKey: "Unidentified"
  }, H0 = {
    8: "Backspace",
    9: "Tab",
    12: "Clear",
    13: "Enter",
    16: "Shift",
    17: "Control",
    18: "Alt",
    19: "Pause",
    20: "CapsLock",
    27: "Escape",
    32: " ",
    33: "PageUp",
    34: "PageDown",
    35: "End",
    36: "Home",
    37: "ArrowLeft",
    38: "ArrowUp",
    39: "ArrowRight",
    40: "ArrowDown",
    45: "Insert",
    46: "Delete",
    112: "F1",
    113: "F2",
    114: "F3",
    115: "F4",
    116: "F5",
    117: "F6",
    118: "F7",
    119: "F8",
    120: "F9",
    121: "F10",
    122: "F11",
    123: "F12",
    144: "NumLock",
    145: "ScrollLock",
    224: "Meta"
  }, Vh = {
    Alt: "altKey",
    Control: "ctrlKey",
    Meta: "metaKey",
    Shift: "shiftKey"
  };
  function Q0(l) {
    var a = this.nativeEvent;
    return a.getModifierState ? a.getModifierState(l) : (l = Vh[l]) ? !!a[l] : !1;
  }
  function tu() {
    return Q0;
  }
  var wi = re({}, mf, {
    key: function(l) {
      if (l.key) {
        var a = x0[l.key] || l.key;
        if (a !== "Unidentified") return a;
      }
      return l.type === "keypress" ? (l = ml(l), l === 13 ? "Enter" : String.fromCharCode(l)) : l.type === "keydown" || l.type === "keyup" ? H0[l.keyCode] || "Unidentified" : "";
    },
    code: 0,
    location: 0,
    ctrlKey: 0,
    shiftKey: 0,
    altKey: 0,
    metaKey: 0,
    repeat: 0,
    locale: 0,
    getModifierState: tu,
    charCode: function(l) {
      return l.type === "keypress" ? ml(l) : 0;
    },
    keyCode: function(l) {
      return l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0;
    },
    which: function(l) {
      return l.type === "keypress" ? ml(l) : l.type === "keydown" || l.type === "keyup" ? l.keyCode : 0;
    }
  }), ja = Ll(wi), ha = re({}, Ni, {
    pointerId: 0,
    width: 0,
    height: 0,
    pressure: 0,
    tangentialPressure: 0,
    tiltX: 0,
    tiltY: 0,
    twist: 0,
    pointerType: 0,
    isPrimary: 0
  }), vf = Ll(ha), yr = re({}, mf, {
    touches: 0,
    targetTouches: 0,
    changedTouches: 0,
    altKey: 0,
    metaKey: 0,
    ctrlKey: 0,
    shiftKey: 0,
    getModifierState: tu
  }), Gh = Ll(yr), Fl = re({}, Lu, {
    propertyName: 0,
    elapsedTime: 0,
    pseudoElement: 0
  }), N0 = Ll(Fl), mr = re({}, Ni, {
    deltaX: function(l) {
      return "deltaX" in l ? l.deltaX : "wheelDeltaX" in l ? -l.wheelDeltaX : 0;
    },
    deltaY: function(l) {
      return "deltaY" in l ? l.deltaY : "wheelDeltaY" in l ? -l.wheelDeltaY : "wheelDelta" in l ? -l.wheelDelta : 0;
    },
    deltaZ: 0,
    deltaMode: 0
  }), qi = Ll(mr), Zh = re({}, Lu, {
    newState: 0,
    oldState: 0
  }), w0 = Ll(Zh), q0 = [9, 13, 27, 32], Af = yn && "CompositionEvent" in window, Sf = null;
  yn && "documentMode" in document && (Sf = document.documentMode);
  var Xh = yn && "TextEvent" in window && !Sf, mn = yn && (!Af || Sf && 8 < Sf && 11 >= Sf), Jh = " ", gr = !1;
  function bf(l, a) {
    switch (l) {
      case "keyup":
        return q0.indexOf(a.keyCode) !== -1;
      case "keydown":
        return a.keyCode !== 229;
      case "keypress":
      case "mousedown":
      case "focusout":
        return !0;
      default:
        return !1;
    }
  }
  function ju(l) {
    return l = l.detail, typeof l == "object" && "data" in l ? l.data : null;
  }
  var Vu = !1;
  function kh(l, a) {
    switch (l) {
      case "compositionend":
        return ju(a);
      case "keypress":
        return a.which !== 32 ? null : (gr = !0, Jh);
      case "textInput":
        return l = a.data, l === Jh && gr ? null : l;
      default:
        return null;
    }
  }
  function Yi(l, a) {
    if (Vu)
      return l === "compositionend" || !Af && bf(l, a) ? (l = wh(), Qi = uo = eu = null, Vu = !1, l) : null;
    switch (l) {
      case "paste":
        return null;
      case "keypress":
        if (!(a.ctrlKey || a.altKey || a.metaKey) || a.ctrlKey && a.altKey) {
          if (a.char && 1 < a.char.length)
            return a.char;
          if (a.which) return String.fromCharCode(a.which);
        }
        return null;
      case "compositionend":
        return mn && a.locale !== "ko" ? null : a.data;
      default:
        return null;
    }
  }
  var Y0 = {
    color: !0,
    date: !0,
    datetime: !0,
    "datetime-local": !0,
    email: !0,
    month: !0,
    number: !0,
    password: !0,
    range: !0,
    search: !0,
    tel: !0,
    text: !0,
    time: !0,
    url: !0,
    week: !0
  };
  function pr(l) {
    var a = l && l.nodeName && l.nodeName.toLowerCase();
    return a === "input" ? !!Y0[l.type] : a === "textarea";
  }
  function vr(l, a, u, c) {
    lo ? ao ? ao.push(c) : ao = [c] : lo = c, a = Bd(a, "onChange"), 0 < a.length && (u = new dr(
      "onChange",
      "change",
      null,
      u,
      c
    ), l.push({ event: u, listeners: a }));
  }
  var Va = null, Ga = null;
  function Kh(l) {
    vg(l, 0);
  }
  function gn(l) {
    var a = $c(l);
    if (Ui(a)) return l;
  }
  function Wh(l, a) {
    if (l === "change") return a;
  }
  var Ih = !1;
  if (yn) {
    var Li;
    if (yn) {
      var ji = "oninput" in document;
      if (!ji) {
        var Fh = document.createElement("div");
        Fh.setAttribute("oninput", "return;"), ji = typeof Fh.oninput == "function";
      }
      Li = ji;
    } else Li = !1;
    Ih = Li && (!document.documentMode || 9 < document.documentMode);
  }
  function io() {
    Va && (Va.detachEvent("onpropertychange", _h), Ga = Va = null);
  }
  function _h(l) {
    if (l.propertyName === "value" && gn(Ga)) {
      var a = [];
      vr(
        a,
        Ga,
        l,
        or(l)
      ), no(Kh, a);
    }
  }
  function Ar(l, a, u) {
    l === "focusin" ? (io(), Va = a, Ga = u, Va.attachEvent("onpropertychange", _h)) : l === "focusout" && io();
  }
  function Gu(l) {
    if (l === "selectionchange" || l === "keyup" || l === "keydown")
      return gn(Ga);
  }
  function lu(l, a) {
    if (l === "click") return gn(a);
  }
  function Ph(l, a) {
    if (l === "input" || l === "change")
      return gn(a);
  }
  function $h(l, a) {
    return l === a && (l !== 0 || 1 / l === 1 / a) || l !== l && a !== a;
  }
  var gl = typeof Object.is == "function" ? Object.is : $h;
  function Zu(l, a) {
    if (gl(l, a)) return !0;
    if (typeof l != "object" || l === null || typeof a != "object" || a === null)
      return !1;
    var u = Object.keys(l), c = Object.keys(a);
    if (u.length !== c.length) return !1;
    for (c = 0; c < u.length; c++) {
      var s = u[c];
      if (!mt.call(a, s) || !gl(l[s], a[s]))
        return !1;
    }
    return !0;
  }
  function Xu(l) {
    for (; l && l.firstChild; ) l = l.firstChild;
    return l;
  }
  function vt(l, a) {
    var u = Xu(l);
    l = 0;
    for (var c; u; ) {
      if (u.nodeType === 3) {
        if (c = l + u.textContent.length, l <= a && c >= a)
          return { node: u, offset: a - l };
        l = c;
      }
      e: {
        for (; u; ) {
          if (u.nextSibling) {
            u = u.nextSibling;
            break e;
          }
          u = u.parentNode;
        }
        u = void 0;
      }
      u = Xu(u);
    }
  }
  function Ef(l, a) {
    return l && a ? l === a ? !0 : l && l.nodeType === 3 ? !1 : a && a.nodeType === 3 ? Ef(l, a.parentNode) : "contains" in l ? l.contains(a) : l.compareDocumentPosition ? !!(l.compareDocumentPosition(a) & 16) : !1 : !1;
  }
  function ey(l) {
    l = l != null && l.ownerDocument != null && l.ownerDocument.defaultView != null ? l.ownerDocument.defaultView : window;
    for (var a = eo(l.document); a instanceof l.HTMLIFrameElement; ) {
      try {
        var u = typeof a.contentWindow.location.href == "string";
      } catch {
        u = !1;
      }
      if (u) l = a.contentWindow;
      else break;
      a = eo(l.document);
    }
    return a;
  }
  function Tf(l) {
    var a = l && l.nodeName && l.nodeName.toLowerCase();
    return a && (a === "input" && (l.type === "text" || l.type === "search" || l.type === "tel" || l.type === "url" || l.type === "password") || a === "textarea" || l.contentEditable === "true");
  }
  var Vi = yn && "documentMode" in document && 11 >= document.documentMode, pn = null, Za = null, Ju = null, Gi = !1;
  function _l(l, a, u) {
    var c = u.window === u ? u.document : u.nodeType === 9 ? u : u.ownerDocument;
    Gi || pn == null || pn !== eo(c) || (c = pn, "selectionStart" in c && Tf(c) ? c = { start: c.selectionStart, end: c.selectionEnd } : (c = (c.ownerDocument && c.ownerDocument.defaultView || window).getSelection(), c = {
      anchorNode: c.anchorNode,
      anchorOffset: c.anchorOffset,
      focusNode: c.focusNode,
      focusOffset: c.focusOffset
    }), Ju && Zu(Ju, c) || (Ju = c, c = Bd(Za, "onSelect"), 0 < c.length && (a = new dr(
      "onSelect",
      "select",
      null,
      a,
      u
    ), l.push({ event: a, listeners: c }), a.target = pn)));
  }
  function It(l, a) {
    var u = {};
    return u[l.toLowerCase()] = a.toLowerCase(), u["Webkit" + l] = "webkit" + a, u["Moz" + l] = "moz" + a, u;
  }
  var ku = {
    animationend: It("Animation", "AnimationEnd"),
    animationiteration: It("Animation", "AnimationIteration"),
    animationstart: It("Animation", "AnimationStart"),
    transitionrun: It("Transition", "TransitionRun"),
    transitionstart: It("Transition", "TransitionStart"),
    transitioncancel: It("Transition", "TransitionCancel"),
    transitionend: It("Transition", "TransitionEnd")
  }, Cf = {}, ty = {};
  yn && (ty = document.createElement("div").style, "AnimationEvent" in window || (delete ku.animationend.animation, delete ku.animationiteration.animation, delete ku.animationstart.animation), "TransitionEvent" in window || delete ku.transitionend.transition);
  function Ol(l) {
    if (Cf[l]) return Cf[l];
    if (!ku[l]) return l;
    var a = ku[l], u;
    for (u in a)
      if (a.hasOwnProperty(u) && u in ty)
        return Cf[l] = a[u];
    return l;
  }
  var Xa = Ol("animationend"), Rf = Ol("animationiteration"), L0 = Ol("animationstart"), j0 = Ol("transitionrun"), Bp = Ol("transitionstart"), ly = Ol("transitioncancel"), Df = Ol("transitionend"), ay = /* @__PURE__ */ new Map(), Sr = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
    " "
  );
  Sr.push("scrollEnd");
  function Ra(l, a) {
    ay.set(l, a), qu(a, [l]);
  }
  var Of = /* @__PURE__ */ new WeakMap();
  function ya(l, a) {
    if (typeof l == "object" && l !== null) {
      var u = Of.get(l);
      return u !== void 0 ? u : (a = {
        value: l,
        source: a,
        stack: v0(a)
      }, Of.set(l, a), a);
    }
    return {
      value: l,
      source: a,
      stack: v0(a)
    };
  }
  var ma = [], Zi = 0, Ft = 0;
  function Xi() {
    for (var l = Zi, a = Ft = Zi = 0; a < l; ) {
      var u = ma[a];
      ma[a++] = null;
      var c = ma[a];
      ma[a++] = null;
      var s = ma[a];
      ma[a++] = null;
      var r = ma[a];
      if (ma[a++] = null, c !== null && s !== null) {
        var y = c.pending;
        y === null ? s.next = s : (s.next = y.next, y.next = s), c.pending = s;
      }
      r !== 0 && zf(u, s, r);
    }
  }
  function Ji(l, a, u, c) {
    ma[Zi++] = l, ma[Zi++] = a, ma[Zi++] = u, ma[Zi++] = c, Ft |= c, l.lanes |= c, l = l.alternate, l !== null && (l.lanes |= c);
  }
  function ki(l, a, u, c) {
    return Ji(l, a, u, c), Ki(l);
  }
  function au(l, a) {
    return Ji(l, null, null, a), Ki(l);
  }
  function zf(l, a, u) {
    l.lanes |= u;
    var c = l.alternate;
    c !== null && (c.lanes |= u);
    for (var s = !1, r = l.return; r !== null; )
      r.childLanes |= u, c = r.alternate, c !== null && (c.childLanes |= u), r.tag === 22 && (l = r.stateNode, l === null || l._visibility & 1 || (s = !0)), l = r, r = r.return;
    return l.tag === 3 ? (r = l.stateNode, s && a !== null && (s = 31 - hl(u), l = r.hiddenUpdates, c = l[s], c === null ? l[s] = [a] : c.push(a), a.lane = u | 536870912), r) : null;
  }
  function Ki(l) {
    if (50 < fs)
      throw fs = 0, la = null, Error(v(185));
    for (var a = l.return; a !== null; )
      l = a, a = l.return;
    return l.tag === 3 ? l.stateNode : null;
  }
  var Wi = {};
  function ny(l, a, u, c) {
    this.tag = l, this.key = u, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = a, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = c, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
  }
  function jl(l, a, u, c) {
    return new ny(l, a, u, c);
  }
  function vn(l) {
    return l = l.prototype, !(!l || !l.isReactComponent);
  }
  function zl(l, a) {
    var u = l.alternate;
    return u === null ? (u = jl(
      l.tag,
      a,
      l.key,
      l.mode
    ), u.elementType = l.elementType, u.type = l.type, u.stateNode = l.stateNode, u.alternate = l, l.alternate = u) : (u.pendingProps = a, u.type = l.type, u.flags = 0, u.subtreeFlags = 0, u.deletions = null), u.flags = l.flags & 65011712, u.childLanes = l.childLanes, u.lanes = l.lanes, u.child = l.child, u.memoizedProps = l.memoizedProps, u.memoizedState = l.memoizedState, u.updateQueue = l.updateQueue, a = l.dependencies, u.dependencies = a === null ? null : { lanes: a.lanes, firstContext: a.firstContext }, u.sibling = l.sibling, u.index = l.index, u.ref = l.ref, u.refCleanup = l.refCleanup, u;
  }
  function co(l, a) {
    l.flags &= 65011714;
    var u = l.alternate;
    return u === null ? (l.childLanes = 0, l.lanes = a, l.child = null, l.subtreeFlags = 0, l.memoizedProps = null, l.memoizedState = null, l.updateQueue = null, l.dependencies = null, l.stateNode = null) : (l.childLanes = u.childLanes, l.lanes = u.lanes, l.child = u.child, l.subtreeFlags = 0, l.deletions = null, l.memoizedProps = u.memoizedProps, l.memoizedState = u.memoizedState, l.updateQueue = u.updateQueue, l.type = u.type, a = u.dependencies, l.dependencies = a === null ? null : {
      lanes: a.lanes,
      firstContext: a.firstContext
    }), l;
  }
  function Ii(l, a, u, c, s, r) {
    var y = 0;
    if (c = l, typeof l == "function") vn(l) && (y = 1);
    else if (typeof l == "string")
      y = Ql(
        l,
        u,
        Le.current
      ) ? 26 : l === "html" || l === "head" || l === "body" ? 27 : 5;
    else
      e: switch (l) {
        case te:
          return l = jl(31, u, a, s), l.elementType = te, l.lanes = r, l;
        case We:
          return Ja(u.children, s, r, a);
        case ht:
          y = 8, s |= 24;
          break;
        case de:
          return l = jl(12, u, a, s | 2), l.elementType = de, l.lanes = r, l;
        case qt:
          return l = jl(13, u, a, s), l.elementType = qt, l.lanes = r, l;
        case F:
          return l = jl(19, u, a, s), l.elementType = F, l.lanes = r, l;
        default:
          if (typeof l == "object" && l !== null)
            switch (l.$$typeof) {
              case be:
              case it:
                y = 10;
                break e;
              case Ie:
                y = 9;
                break e;
              case Rt:
                y = 11;
                break e;
              case $:
                y = 14;
                break e;
              case Ae:
                y = 16, c = null;
                break e;
            }
          y = 29, u = Error(
            v(130, l === null ? "null" : typeof l, "")
          ), c = null;
      }
    return a = jl(y, u, a, s), a.elementType = l, a.type = c, a.lanes = r, a;
  }
  function Ja(l, a, u, c) {
    return l = jl(7, l, c, a), l.lanes = u, l;
  }
  function Fi(l, a, u) {
    return l = jl(6, l, null, a), l.lanes = u, l;
  }
  function br(l, a, u) {
    return a = jl(
      4,
      l.children !== null ? l.children : [],
      l.key,
      a
    ), a.lanes = u, a.stateNode = {
      containerInfo: l.containerInfo,
      pendingChildren: null,
      implementation: l.implementation
    }, a;
  }
  var oo = [], _i = 0, Uf = null, fo = 0, Pl = [], _t = 0, Ku = null, Ul = 1, pl = "";
  function An(l, a) {
    oo[_i++] = fo, oo[_i++] = Uf, Uf = l, fo = a;
  }
  function Qe(l, a, u) {
    Pl[_t++] = Ul, Pl[_t++] = pl, Pl[_t++] = Ku, Ku = l;
    var c = Ul;
    l = pl;
    var s = 32 - hl(c) - 1;
    c &= ~(1 << s), u += 1;
    var r = 32 - hl(a) + s;
    if (30 < r) {
      var y = s - s % 5;
      r = (c & (1 << y) - 1).toString(32), c >>= y, s -= y, Ul = 1 << 32 - hl(a) + s | u << s | c, pl = r + l;
    } else
      Ul = 1 << r | u << s | c, pl = l;
  }
  function K(l) {
    l.return !== null && (An(l, 1), Qe(l, 1, 0));
  }
  function Wu(l) {
    for (; l === Uf; )
      Uf = oo[--_i], oo[_i] = null, fo = oo[--_i], oo[_i] = null;
    for (; l === Ku; )
      Ku = Pl[--_t], Pl[_t] = null, pl = Pl[--_t], Pl[_t] = null, Ul = Pl[--_t], Pl[_t] = null;
  }
  var ul = null, De = null, ke = !1, nu = null, ka = !1, Mf = Error(v(519));
  function Pi(l) {
    var a = Error(
      v(
        418,
        1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
        ""
      )
    );
    throw ec(ya(a, l)), Mf;
  }
  function Er(l) {
    var a = l.stateNode, u = l.type, c = l.memoizedProps;
    switch (a[Kt] = l, a[xt] = c, u) {
      case "dialog":
        ee("cancel", a), ee("close", a);
        break;
      case "iframe":
      case "object":
      case "embed":
        ee("load", a);
        break;
      case "video":
      case "audio":
        for (u = 0; u < Ut.length; u++)
          ee(Ut[u], a);
        break;
      case "source":
        ee("error", a);
        break;
      case "img":
      case "image":
      case "link":
        ee("error", a), ee("load", a);
        break;
      case "details":
        ee("toggle", a);
        break;
      case "input":
        ee("invalid", a), ir(
          a,
          c.value,
          c.defaultValue,
          c.checked,
          c.defaultChecked,
          c.type,
          c.name,
          !0
        ), Yu(a);
        break;
      case "select":
        ee("invalid", a);
        break;
      case "textarea":
        ee("invalid", a), Qh(a, c.value, c.defaultValue, c.children), Yu(a);
    }
    u = c.children, typeof u != "string" && typeof u != "number" && typeof u != "bigint" || a.textContent === "" + u || c.suppressHydrationWarning === !0 || vs(a.textContent, u) ? (c.popover != null && (ee("beforetoggle", a), ee("toggle", a)), c.onScroll != null && ee("scroll", a), c.onScrollEnd != null && ee("scrollend", a), c.onClick != null && (a.onclick = Hl), a = !0) : a = !1, a || Pi(l, !0);
  }
  function Tr(l) {
    for (ul = l.return; ul; )
      switch (ul.tag) {
        case 5:
        case 13:
          ka = !1;
          return;
        case 27:
        case 3:
          ka = !0;
          return;
        default:
          ul = ul.return;
      }
  }
  function $i(l) {
    if (l !== ul) return !1;
    if (!ke) return Tr(l), ke = !0, !1;
    var a = l.tag, u;
    if ((u = a !== 3 && a !== 27) && ((u = a === 5) && (u = l.type, u = !(u !== "form" && u !== "button") || As(l.type, l.memoizedProps)), u = !u), u && De && Pi(l), Tr(l), a === 13) {
      if (l = l.memoizedState, l = l !== null ? l.dehydrated : null, !l) throw Error(v(317));
      e: {
        for (l = l.nextSibling, a = 0; l; ) {
          if (l.nodeType === 8)
            if (u = l.data, u === "/$") {
              if (a === 0) {
                De = Ba(l.nextSibling);
                break e;
              }
              a--;
            } else
              u !== "$" && u !== "$!" && u !== "$?" || a++;
          l = l.nextSibling;
        }
        De = null;
      }
    } else
      a === 27 ? (a = De, vu(l.type) ? (l = Es, Es = null, De = l) : De = a) : De = ul ? Ba(l.stateNode.nextSibling) : null;
    return !0;
  }
  function il() {
    De = ul = null, ke = !1;
  }
  function $e() {
    var l = nu;
    return l !== null && (Xl === null ? Xl = l : Xl.push.apply(
      Xl,
      l
    ), nu = null), l;
  }
  function ec(l) {
    nu === null ? nu = [l] : nu.push(l);
  }
  var tc = oe(null), $l = null, Vl = null;
  function cl(l, a, u) {
    pe(tc, a._currentValue), a._currentValue = u;
  }
  function Ka(l) {
    l._currentValue = tc.current, ce(tc);
  }
  function Iu(l, a, u) {
    for (; l !== null; ) {
      var c = l.alternate;
      if ((l.childLanes & a) !== a ? (l.childLanes |= a, c !== null && (c.childLanes |= a)) : c !== null && (c.childLanes & a) !== a && (c.childLanes |= a), l === u) break;
      l = l.return;
    }
  }
  function Bf(l, a, u, c) {
    var s = l.child;
    for (s !== null && (s.return = l); s !== null; ) {
      var r = s.dependencies;
      if (r !== null) {
        var y = s.child;
        r = r.firstContext;
        e: for (; r !== null; ) {
          var g = r;
          r = s;
          for (var A = 0; A < a.length; A++)
            if (g.context === a[A]) {
              r.lanes |= u, g = r.alternate, g !== null && (g.lanes |= u), Iu(
                r.return,
                u,
                l
              ), c || (y = null);
              break e;
            }
          r = g.next;
        }
      } else if (s.tag === 18) {
        if (y = s.return, y === null) throw Error(v(341));
        y.lanes |= u, r = y.alternate, r !== null && (r.lanes |= u), Iu(y, u, l), y = null;
      } else y = s.child;
      if (y !== null) y.return = s;
      else
        for (y = s; y !== null; ) {
          if (y === l) {
            y = null;
            break;
          }
          if (s = y.sibling, s !== null) {
            s.return = y.return, y = s;
            break;
          }
          y = y.return;
        }
      s = y;
    }
  }
  function uu(l, a, u, c) {
    l = null;
    for (var s = a, r = !1; s !== null; ) {
      if (!r) {
        if ((s.flags & 524288) !== 0) r = !0;
        else if ((s.flags & 262144) !== 0) break;
      }
      if (s.tag === 10) {
        var y = s.alternate;
        if (y === null) throw Error(v(387));
        if (y = y.memoizedProps, y !== null) {
          var g = s.type;
          gl(s.pendingProps.value, y.value) || (l !== null ? l.push(g) : l = [g]);
        }
      } else if (s === Fn.current) {
        if (y = s.alternate, y === null) throw Error(v(387));
        y.memoizedState.memoizedState !== s.memoizedState.memoizedState && (l !== null ? l.push(Dc) : l = [Dc]);
      }
      s = s.return;
    }
    l !== null && Bf(
      a,
      l,
      u,
      c
    ), a.flags |= 262144;
  }
  function so(l) {
    for (l = l.firstContext; l !== null; ) {
      if (!gl(
        l.context._currentValue,
        l.memoizedValue
      ))
        return !0;
      l = l.next;
    }
    return !1;
  }
  function Sn(l) {
    $l = l, Vl = null, l = l.dependencies, l !== null && (l.firstContext = null);
  }
  function vl(l) {
    return uy($l, l);
  }
  function xf(l, a) {
    return $l === null && Sn(l), uy(l, a);
  }
  function uy(l, a) {
    var u = a._currentValue;
    if (a = { context: a, memoizedValue: u, next: null }, Vl === null) {
      if (l === null) throw Error(v(308));
      Vl = a, l.dependencies = { lanes: 0, firstContext: a }, l.flags |= 524288;
    } else Vl = Vl.next = a;
    return u;
  }
  var V0 = typeof AbortController < "u" ? AbortController : function() {
    var l = [], a = this.signal = {
      aborted: !1,
      addEventListener: function(u, c) {
        l.push(c);
      }
    };
    this.abort = function() {
      a.aborted = !0, l.forEach(function(u) {
        return u();
      });
    };
  }, G0 = V.unstable_scheduleCallback, iy = V.unstable_NormalPriority, Yt = {
    $$typeof: it,
    Consumer: null,
    Provider: null,
    _currentValue: null,
    _currentValue2: null,
    _threadCount: 0
  };
  function Hf() {
    return {
      controller: new V0(),
      data: /* @__PURE__ */ new Map(),
      refCount: 0
    };
  }
  function ro(l) {
    l.refCount--, l.refCount === 0 && G0(iy, function() {
      l.controller.abort();
    });
  }
  var ho = null, Cr = 0, yo = 0, lc = null;
  function Z0(l, a) {
    if (ho === null) {
      var u = ho = [];
      Cr = 0, yo = Ud(), lc = {
        status: "pending",
        value: void 0,
        then: function(c) {
          u.push(c);
        }
      };
    }
    return Cr++, a.then(cy, cy), a;
  }
  function cy() {
    if (--Cr === 0 && ho !== null) {
      lc !== null && (lc.status = "fulfilled");
      var l = ho;
      ho = null, yo = 0, lc = null;
      for (var a = 0; a < l.length; a++) (0, l[a])();
    }
  }
  function oy(l, a) {
    var u = [], c = {
      status: "pending",
      value: null,
      reason: null,
      then: function(s) {
        u.push(s);
      }
    };
    return l.then(
      function() {
        c.status = "fulfilled", c.value = a;
        for (var s = 0; s < u.length; s++) (0, u[s])(a);
      },
      function(s) {
        for (c.status = "rejected", c.reason = s, s = 0; s < u.length; s++)
          (0, u[s])(void 0);
      }
    ), c;
  }
  var fy = R.S;
  R.S = function(l, a) {
    typeof a == "object" && a !== null && typeof a.then == "function" && Z0(l, a), fy !== null && fy(l, a);
  };
  var Fu = oe(null);
  function _u() {
    var l = Fu.current;
    return l !== null ? l : rt.pooledCache;
  }
  function ac(l, a) {
    a === null ? pe(Fu, Fu.current) : pe(Fu, a.pool);
  }
  function sy() {
    var l = _u();
    return l === null ? null : { parent: Yt._currentValue, pool: l };
  }
  var Qf = Error(v(460)), mo = Error(v(474)), iu = Error(v(542)), go = { then: function() {
  } };
  function Pu(l) {
    return l = l.status, l === "fulfilled" || l === "rejected";
  }
  function Al() {
  }
  function Nf(l, a, u) {
    switch (u = l[u], u === void 0 ? l.push(a) : u !== a && (a.then(Al, Al), a = u), a.status) {
      case "fulfilled":
        return a.value;
      case "rejected":
        throw l = a.reason, Rr(l), l;
      default:
        if (typeof a.status == "string") a.then(Al, Al);
        else {
          if (l = rt, l !== null && 100 < l.shellSuspendCounter)
            throw Error(v(482));
          l = a, l.status = "pending", l.then(
            function(c) {
              if (a.status === "pending") {
                var s = a;
                s.status = "fulfilled", s.value = c;
              }
            },
            function(c) {
              if (a.status === "pending") {
                var s = a;
                s.status = "rejected", s.reason = c;
              }
            }
          );
        }
        switch (a.status) {
          case "fulfilled":
            return a.value;
          case "rejected":
            throw l = a.reason, Rr(l), l;
        }
        throw $u = a, Qf;
    }
  }
  var $u = null;
  function ry() {
    if ($u === null) throw Error(v(459));
    var l = $u;
    return $u = null, l;
  }
  function Rr(l) {
    if (l === Qf || l === iu)
      throw Error(v(483));
  }
  var cu = null, nc = 0;
  function uc(l) {
    var a = nc;
    return nc += 1, cu === null && (cu = []), Nf(cu, l, a);
  }
  function ic(l, a) {
    a = a.props.ref, l.ref = a !== void 0 ? a : null;
  }
  function cc(l, a) {
    throw a.$$typeof === He ? Error(v(525)) : (l = Object.prototype.toString.call(a), Error(
      v(
        31,
        l === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : l
      )
    ));
  }
  function Dr(l) {
    var a = l._init;
    return a(l._payload);
  }
  function dy(l) {
    function a(D, E) {
      if (l) {
        var O = D.deletions;
        O === null ? (D.deletions = [E], D.flags |= 16) : O.push(E);
      }
    }
    function u(D, E) {
      if (!l) return null;
      for (; E !== null; )
        a(D, E), E = E.sibling;
      return null;
    }
    function c(D) {
      for (var E = /* @__PURE__ */ new Map(); D !== null; )
        D.key !== null ? E.set(D.key, D) : E.set(D.index, D), D = D.sibling;
      return E;
    }
    function s(D, E) {
      return D = zl(D, E), D.index = 0, D.sibling = null, D;
    }
    function r(D, E, O) {
      return D.index = O, l ? (O = D.alternate, O !== null ? (O = O.index, O < E ? (D.flags |= 67108866, E) : O) : (D.flags |= 67108866, E)) : (D.flags |= 1048576, E);
    }
    function y(D) {
      return l && D.alternate === null && (D.flags |= 67108866), D;
    }
    function g(D, E, O, G) {
      return E === null || E.tag !== 6 ? (E = Fi(O, D.mode, G), E.return = D, E) : (E = s(E, O), E.return = D, E);
    }
    function A(D, E, O, G) {
      var ne = O.type;
      return ne === We ? j(
        D,
        E,
        O.props.children,
        G,
        O.key
      ) : E !== null && (E.elementType === ne || typeof ne == "object" && ne !== null && ne.$$typeof === Ae && Dr(ne) === E.type) ? (E = s(E, O.props), ic(E, O), E.return = D, E) : (E = Ii(
        O.type,
        O.key,
        O.props,
        null,
        D.mode,
        G
      ), ic(E, O), E.return = D, E);
    }
    function z(D, E, O, G) {
      return E === null || E.tag !== 4 || E.stateNode.containerInfo !== O.containerInfo || E.stateNode.implementation !== O.implementation ? (E = br(O, D.mode, G), E.return = D, E) : (E = s(E, O.children || []), E.return = D, E);
    }
    function j(D, E, O, G, ne) {
      return E === null || E.tag !== 7 ? (E = Ja(
        O,
        D.mode,
        G,
        ne
      ), E.return = D, E) : (E = s(E, O), E.return = D, E);
    }
    function X(D, E, O) {
      if (typeof E == "string" && E !== "" || typeof E == "number" || typeof E == "bigint")
        return E = Fi(
          "" + E,
          D.mode,
          O
        ), E.return = D, E;
      if (typeof E == "object" && E !== null) {
        switch (E.$$typeof) {
          case ye:
            return O = Ii(
              E.type,
              E.key,
              E.props,
              null,
              D.mode,
              O
            ), ic(O, E), O.return = D, O;
          case Je:
            return E = br(
              E,
              D.mode,
              O
            ), E.return = D, E;
          case Ae:
            var G = E._init;
            return E = G(E._payload), X(D, E, O);
        }
        if (Jt(E) || Ce(E))
          return E = Ja(
            E,
            D.mode,
            O,
            null
          ), E.return = D, E;
        if (typeof E.then == "function")
          return X(D, uc(E), O);
        if (E.$$typeof === it)
          return X(
            D,
            xf(D, E),
            O
          );
        cc(D, E);
      }
      return null;
    }
    function M(D, E, O, G) {
      var ne = E !== null ? E.key : null;
      if (typeof O == "string" && O !== "" || typeof O == "number" || typeof O == "bigint")
        return ne !== null ? null : g(D, E, "" + O, G);
      if (typeof O == "object" && O !== null) {
        switch (O.$$typeof) {
          case ye:
            return O.key === ne ? A(D, E, O, G) : null;
          case Je:
            return O.key === ne ? z(D, E, O, G) : null;
          case Ae:
            return ne = O._init, O = ne(O._payload), M(D, E, O, G);
        }
        if (Jt(O) || Ce(O))
          return ne !== null ? null : j(D, E, O, G, null);
        if (typeof O.then == "function")
          return M(
            D,
            E,
            uc(O),
            G
          );
        if (O.$$typeof === it)
          return M(
            D,
            E,
            xf(D, O),
            G
          );
        cc(D, O);
      }
      return null;
    }
    function x(D, E, O, G, ne) {
      if (typeof G == "string" && G !== "" || typeof G == "number" || typeof G == "bigint")
        return D = D.get(O) || null, g(E, D, "" + G, ne);
      if (typeof G == "object" && G !== null) {
        switch (G.$$typeof) {
          case ye:
            return D = D.get(
              G.key === null ? O : G.key
            ) || null, A(E, D, G, ne);
          case Je:
            return D = D.get(
              G.key === null ? O : G.key
            ) || null, z(E, D, G, ne);
          case Ae:
            var xe = G._init;
            return G = xe(G._payload), x(
              D,
              E,
              O,
              G,
              ne
            );
        }
        if (Jt(G) || Ce(G))
          return D = D.get(O) || null, j(E, D, G, ne, null);
        if (typeof G.then == "function")
          return x(
            D,
            E,
            O,
            uc(G),
            ne
          );
        if (G.$$typeof === it)
          return x(
            D,
            E,
            O,
            xf(E, G),
            ne
          );
        cc(E, G);
      }
      return null;
    }
    function me(D, E, O, G) {
      for (var ne = null, xe = null, fe = E, he = E = 0, Lt = null; fe !== null && he < O.length; he++) {
        fe.index > he ? (Lt = fe, fe = null) : Lt = fe.sibling;
        var Ke = M(
          D,
          fe,
          O[he],
          G
        );
        if (Ke === null) {
          fe === null && (fe = Lt);
          break;
        }
        l && fe && Ke.alternate === null && a(D, fe), E = r(Ke, E, he), xe === null ? ne = Ke : xe.sibling = Ke, xe = Ke, fe = Lt;
      }
      if (he === O.length)
        return u(D, fe), ke && An(D, he), ne;
      if (fe === null) {
        for (; he < O.length; he++)
          fe = X(D, O[he], G), fe !== null && (E = r(
            fe,
            E,
            he
          ), xe === null ? ne = fe : xe.sibling = fe, xe = fe);
        return ke && An(D, he), ne;
      }
      for (fe = c(fe); he < O.length; he++)
        Lt = x(
          fe,
          D,
          he,
          O[he],
          G
        ), Lt !== null && (l && Lt.alternate !== null && fe.delete(
          Lt.key === null ? he : Lt.key
        ), E = r(
          Lt,
          E,
          he
        ), xe === null ? ne = Lt : xe.sibling = Lt, xe = Lt);
      return l && fe.forEach(function(Ai) {
        return a(D, Ai);
      }), ke && An(D, he), ne;
    }
    function se(D, E, O, G) {
      if (O == null) throw Error(v(151));
      for (var ne = null, xe = null, fe = E, he = E = 0, Lt = null, Ke = O.next(); fe !== null && !Ke.done; he++, Ke = O.next()) {
        fe.index > he ? (Lt = fe, fe = null) : Lt = fe.sibling;
        var Ai = M(D, fe, Ke.value, G);
        if (Ai === null) {
          fe === null && (fe = Lt);
          break;
        }
        l && fe && Ai.alternate === null && a(D, fe), E = r(Ai, E, he), xe === null ? ne = Ai : xe.sibling = Ai, xe = Ai, fe = Lt;
      }
      if (Ke.done)
        return u(D, fe), ke && An(D, he), ne;
      if (fe === null) {
        for (; !Ke.done; he++, Ke = O.next())
          Ke = X(D, Ke.value, G), Ke !== null && (E = r(Ke, E, he), xe === null ? ne = Ke : xe.sibling = Ke, xe = Ke);
        return ke && An(D, he), ne;
      }
      for (fe = c(fe); !Ke.done; he++, Ke = O.next())
        Ke = x(fe, D, he, Ke.value, G), Ke !== null && (l && Ke.alternate !== null && fe.delete(Ke.key === null ? he : Ke.key), E = r(Ke, E, he), xe === null ? ne = Ke : xe.sibling = Ke, xe = Ke);
      return l && fe.forEach(function(Jp) {
        return a(D, Jp);
      }), ke && An(D, he), ne;
    }
    function tt(D, E, O, G) {
      if (typeof O == "object" && O !== null && O.type === We && O.key === null && (O = O.props.children), typeof O == "object" && O !== null) {
        switch (O.$$typeof) {
          case ye:
            e: {
              for (var ne = O.key; E !== null; ) {
                if (E.key === ne) {
                  if (ne = O.type, ne === We) {
                    if (E.tag === 7) {
                      u(
                        D,
                        E.sibling
                      ), G = s(
                        E,
                        O.props.children
                      ), G.return = D, D = G;
                      break e;
                    }
                  } else if (E.elementType === ne || typeof ne == "object" && ne !== null && ne.$$typeof === Ae && Dr(ne) === E.type) {
                    u(
                      D,
                      E.sibling
                    ), G = s(E, O.props), ic(G, O), G.return = D, D = G;
                    break e;
                  }
                  u(D, E);
                  break;
                } else a(D, E);
                E = E.sibling;
              }
              O.type === We ? (G = Ja(
                O.props.children,
                D.mode,
                G,
                O.key
              ), G.return = D, D = G) : (G = Ii(
                O.type,
                O.key,
                O.props,
                null,
                D.mode,
                G
              ), ic(G, O), G.return = D, D = G);
            }
            return y(D);
          case Je:
            e: {
              for (ne = O.key; E !== null; ) {
                if (E.key === ne)
                  if (E.tag === 4 && E.stateNode.containerInfo === O.containerInfo && E.stateNode.implementation === O.implementation) {
                    u(
                      D,
                      E.sibling
                    ), G = s(E, O.children || []), G.return = D, D = G;
                    break e;
                  } else {
                    u(D, E);
                    break;
                  }
                else a(D, E);
                E = E.sibling;
              }
              G = br(O, D.mode, G), G.return = D, D = G;
            }
            return y(D);
          case Ae:
            return ne = O._init, O = ne(O._payload), tt(
              D,
              E,
              O,
              G
            );
        }
        if (Jt(O))
          return me(
            D,
            E,
            O,
            G
          );
        if (Ce(O)) {
          if (ne = Ce(O), typeof ne != "function") throw Error(v(150));
          return O = ne.call(O), se(
            D,
            E,
            O,
            G
          );
        }
        if (typeof O.then == "function")
          return tt(
            D,
            E,
            uc(O),
            G
          );
        if (O.$$typeof === it)
          return tt(
            D,
            E,
            xf(D, O),
            G
          );
        cc(D, O);
      }
      return typeof O == "string" && O !== "" || typeof O == "number" || typeof O == "bigint" ? (O = "" + O, E !== null && E.tag === 6 ? (u(D, E.sibling), G = s(E, O), G.return = D, D = G) : (u(D, E), G = Fi(O, D.mode, G), G.return = D, D = G), y(D)) : u(D, E);
    }
    return function(D, E, O, G) {
      try {
        nc = 0;
        var ne = tt(
          D,
          E,
          O,
          G
        );
        return cu = null, ne;
      } catch (fe) {
        if (fe === Qf || fe === iu) throw fe;
        var xe = jl(29, fe, null, D.mode);
        return xe.lanes = G, xe.return = D, xe;
      } finally {
      }
    };
  }
  var oc = dy(!0), Or = dy(!1), ou = !1;
  function po(l) {
    l.updateQueue = {
      baseState: l.memoizedState,
      firstBaseUpdate: null,
      lastBaseUpdate: null,
      shared: { pending: null, lanes: 0, hiddenCallbacks: null },
      callbacks: null
    };
  }
  function zr(l, a) {
    l = l.updateQueue, a.updateQueue === l && (a.updateQueue = {
      baseState: l.baseState,
      firstBaseUpdate: l.firstBaseUpdate,
      lastBaseUpdate: l.lastBaseUpdate,
      shared: l.shared,
      callbacks: null
    });
  }
  function bn(l) {
    return { lane: l, tag: 0, payload: null, callback: null, next: null };
  }
  function fu(l, a, u) {
    var c = l.updateQueue;
    if (c === null) return null;
    if (c = c.shared, (Be & 2) !== 0) {
      var s = c.pending;
      return s === null ? a.next = a : (a.next = s.next, s.next = a), c.pending = a, a = Ki(l), zf(l, null, u), a;
    }
    return Ji(l, c, a, u), Ki(l);
  }
  function vo(l, a, u) {
    if (a = a.updateQueue, a !== null && (a = a.shared, (u & 4194048) !== 0)) {
      var c = a.lanes;
      c &= l.pendingLanes, u |= c, a.lanes = u, Bu(l, u);
    }
  }
  function wf(l, a) {
    var u = l.updateQueue, c = l.alternate;
    if (c !== null && (c = c.updateQueue, u === c)) {
      var s = null, r = null;
      if (u = u.firstBaseUpdate, u !== null) {
        do {
          var y = {
            lane: u.lane,
            tag: u.tag,
            payload: u.payload,
            callback: null,
            next: null
          };
          r === null ? s = r = y : r = r.next = y, u = u.next;
        } while (u !== null);
        r === null ? s = r = a : r = r.next = a;
      } else s = r = a;
      u = {
        baseState: c.baseState,
        firstBaseUpdate: s,
        lastBaseUpdate: r,
        shared: c.shared,
        callbacks: c.callbacks
      }, l.updateQueue = u;
      return;
    }
    l = u.lastBaseUpdate, l === null ? u.firstBaseUpdate = a : l.next = a, u.lastBaseUpdate = a;
  }
  var Ur = !1;
  function Ao() {
    if (Ur) {
      var l = lc;
      if (l !== null) throw l;
    }
  }
  function Wa(l, a, u, c) {
    Ur = !1;
    var s = l.updateQueue;
    ou = !1;
    var r = s.firstBaseUpdate, y = s.lastBaseUpdate, g = s.shared.pending;
    if (g !== null) {
      s.shared.pending = null;
      var A = g, z = A.next;
      A.next = null, y === null ? r = z : y.next = z, y = A;
      var j = l.alternate;
      j !== null && (j = j.updateQueue, g = j.lastBaseUpdate, g !== y && (g === null ? j.firstBaseUpdate = z : g.next = z, j.lastBaseUpdate = A));
    }
    if (r !== null) {
      var X = s.baseState;
      y = 0, j = z = A = null, g = r;
      do {
        var M = g.lane & -536870913, x = M !== g.lane;
        if (x ? (Ve & M) === M : (c & M) === M) {
          M !== 0 && M === yo && (Ur = !0), j !== null && (j = j.next = {
            lane: 0,
            tag: g.tag,
            payload: g.payload,
            callback: null,
            next: null
          });
          e: {
            var me = l, se = g;
            M = a;
            var tt = u;
            switch (se.tag) {
              case 1:
                if (me = se.payload, typeof me == "function") {
                  X = me.call(tt, X, M);
                  break e;
                }
                X = me;
                break e;
              case 3:
                me.flags = me.flags & -65537 | 128;
              case 0:
                if (me = se.payload, M = typeof me == "function" ? me.call(tt, X, M) : me, M == null) break e;
                X = re({}, X, M);
                break e;
              case 2:
                ou = !0;
            }
          }
          M = g.callback, M !== null && (l.flags |= 64, x && (l.flags |= 8192), x = s.callbacks, x === null ? s.callbacks = [M] : x.push(M));
        } else
          x = {
            lane: M,
            tag: g.tag,
            payload: g.payload,
            callback: g.callback,
            next: null
          }, j === null ? (z = j = x, A = X) : j = j.next = x, y |= M;
        if (g = g.next, g === null) {
          if (g = s.shared.pending, g === null)
            break;
          x = g, g = x.next, x.next = null, s.lastBaseUpdate = x, s.shared.pending = null;
        }
      } while (!0);
      j === null && (A = X), s.baseState = A, s.firstBaseUpdate = z, s.lastBaseUpdate = j, r === null && (s.shared.lanes = 0), ii |= y, l.lanes = y, l.memoizedState = X;
    }
  }
  function Mr(l, a) {
    if (typeof l != "function")
      throw Error(v(191, l));
    l.call(a);
  }
  function Br(l, a) {
    var u = l.callbacks;
    if (u !== null)
      for (l.callbacks = null, l = 0; l < u.length; l++)
        Mr(u[l], a);
  }
  var So = oe(null), xr = oe(0);
  function hy(l, a) {
    l = Qn, pe(xr, l), pe(So, a), Qn = l | a.baseLanes;
  }
  function fc() {
    pe(xr, Qn), pe(So, So.current);
  }
  function qf() {
    Qn = xr.current, ce(So), ce(xr);
  }
  var Gl = oe(null), Ia = null;
  function su(l) {
    var a = l.alternate;
    pe(jt, jt.current & 1), pe(Gl, l), Ia === null && (a === null || So.current !== null || a.memoizedState !== null) && (Ia = l);
  }
  function Hr(l) {
    if (l.tag === 22) {
      if (pe(jt, jt.current), pe(Gl, l), Ia === null) {
        var a = l.alternate;
        a !== null && a.memoizedState !== null && (Ia = l);
      }
    } else En();
  }
  function En() {
    pe(jt, jt.current), pe(Gl, Gl.current);
  }
  function Tn(l) {
    ce(Gl), Ia === l && (Ia = null), ce(jt);
  }
  var jt = oe(0);
  function Cn(l) {
    for (var a = l; a !== null; ) {
      if (a.tag === 13) {
        var u = a.memoizedState;
        if (u !== null && (u = u.dehydrated, u === null || u.data === "$?" || Nd(u)))
          return a;
      } else if (a.tag === 19 && a.memoizedProps.revealOrder !== void 0) {
        if ((a.flags & 128) !== 0) return a;
      } else if (a.child !== null) {
        a.child.return = a, a = a.child;
        continue;
      }
      if (a === l) break;
      for (; a.sibling === null; ) {
        if (a.return === null || a.return === l) return null;
        a = a.return;
      }
      a.sibling.return = a.return, a = a.sibling;
    }
    return null;
  }
  var Rn = 0, Me = null, lt = null, Bt = null, Yf = !1, ei = !1, ru = !1, bo = 0, Lf = 0, Ht = null, X0 = 0;
  function Qt() {
    throw Error(v(321));
  }
  function Qr(l, a) {
    if (a === null) return !1;
    for (var u = 0; u < a.length && u < l.length; u++)
      if (!gl(l[u], a[u])) return !1;
    return !0;
  }
  function Nr(l, a, u, c, s, r) {
    return Rn = r, Me = a, a.memoizedState = null, a.updateQueue = null, a.lanes = 0, R.H = l === null || l.memoizedState === null ? li : My, ru = !1, r = u(c, s), ru = !1, ei && (r = jf(
      a,
      u,
      c,
      s
    )), yy(l), r;
  }
  function yy(l) {
    R.H = Kf;
    var a = lt !== null && lt.next !== null;
    if (Rn = 0, Bt = lt = Me = null, Yf = !1, Lf = 0, Ht = null, a) throw Error(v(300));
    l === null || Pt || (l = l.dependencies, l !== null && so(l) && (Pt = !0));
  }
  function jf(l, a, u, c) {
    Me = l;
    var s = 0;
    do {
      if (ei && (Ht = null), Lf = 0, ei = !1, 25 <= s) throw Error(v(301));
      if (s += 1, Bt = lt = null, l.updateQueue != null) {
        var r = l.updateQueue;
        r.lastEffect = null, r.events = null, r.stores = null, r.memoCache != null && (r.memoCache.index = 0);
      }
      R.H = du, r = a(u, c);
    } while (ei);
    return r;
  }
  function my() {
    var l = R.H, a = l.useState()[0];
    return a = typeof a.then == "function" ? Eo(a) : a, l = l.useState()[0], (lt !== null ? lt.memoizedState : null) !== l && (Me.flags |= 1024), a;
  }
  function wr() {
    var l = bo !== 0;
    return bo = 0, l;
  }
  function qr(l, a, u) {
    a.updateQueue = l.updateQueue, a.flags &= -2053, l.lanes &= ~u;
  }
  function Yr(l) {
    if (Yf) {
      for (l = l.memoizedState; l !== null; ) {
        var a = l.queue;
        a !== null && (a.pending = null), l = l.next;
      }
      Yf = !1;
    }
    Rn = 0, Bt = lt = Me = null, ei = !1, Lf = bo = 0, Ht = null;
  }
  function Ml() {
    var l = {
      memoizedState: null,
      baseState: null,
      baseQueue: null,
      queue: null,
      next: null
    };
    return Bt === null ? Me.memoizedState = Bt = l : Bt = Bt.next = l, Bt;
  }
  function Nt() {
    if (lt === null) {
      var l = Me.alternate;
      l = l !== null ? l.memoizedState : null;
    } else l = lt.next;
    var a = Bt === null ? Me.memoizedState : Bt.next;
    if (a !== null)
      Bt = a, lt = l;
    else {
      if (l === null)
        throw Me.alternate === null ? Error(v(467)) : Error(v(310));
      lt = l, l = {
        memoizedState: lt.memoizedState,
        baseState: lt.baseState,
        baseQueue: lt.baseQueue,
        queue: lt.queue,
        next: null
      }, Bt === null ? Me.memoizedState = Bt = l : Bt = Bt.next = l;
    }
    return Bt;
  }
  function Vf() {
    return { lastEffect: null, events: null, stores: null, memoCache: null };
  }
  function Eo(l) {
    var a = Lf;
    return Lf += 1, Ht === null && (Ht = []), l = Nf(Ht, l, a), a = Me, (Bt === null ? a.memoizedState : Bt.next) === null && (a = a.alternate, R.H = a === null || a.memoizedState === null ? li : My), l;
  }
  function To(l) {
    if (l !== null && typeof l == "object") {
      if (typeof l.then == "function") return Eo(l);
      if (l.$$typeof === it) return vl(l);
    }
    throw Error(v(438, String(l)));
  }
  function Co(l) {
    var a = null, u = Me.updateQueue;
    if (u !== null && (a = u.memoCache), a == null) {
      var c = Me.alternate;
      c !== null && (c = c.updateQueue, c !== null && (c = c.memoCache, c != null && (a = {
        data: c.data.map(function(s) {
          return s.slice();
        }),
        index: 0
      })));
    }
    if (a == null && (a = { data: [], index: 0 }), u === null && (u = Vf(), Me.updateQueue = u), u.memoCache = a, u = a.data[a.index], u === void 0)
      for (u = a.data[a.index] = Array(l), c = 0; c < l; c++)
        u[c] = ft;
    return a.index++, u;
  }
  function Fa(l, a) {
    return typeof a == "function" ? a(l) : a;
  }
  function Gf(l) {
    var a = Nt();
    return Lr(a, lt, l);
  }
  function Lr(l, a, u) {
    var c = l.queue;
    if (c === null) throw Error(v(311));
    c.lastRenderedReducer = u;
    var s = l.baseQueue, r = c.pending;
    if (r !== null) {
      if (s !== null) {
        var y = s.next;
        s.next = r.next, r.next = y;
      }
      a.baseQueue = s = r, c.pending = null;
    }
    if (r = l.baseState, s === null) l.memoizedState = r;
    else {
      a = s.next;
      var g = y = null, A = null, z = a, j = !1;
      do {
        var X = z.lane & -536870913;
        if (X !== z.lane ? (Ve & X) === X : (Rn & X) === X) {
          var M = z.revertLane;
          if (M === 0)
            A !== null && (A = A.next = {
              lane: 0,
              revertLane: 0,
              gesture: null,
              action: z.action,
              hasEagerState: z.hasEagerState,
              eagerState: z.eagerState,
              next: null
            }), X === yo && (j = !0);
          else if ((Rn & M) === M) {
            z = z.next, M === yo && (j = !0);
            continue;
          } else
            X = {
              lane: 0,
              revertLane: z.revertLane,
              gesture: null,
              action: z.action,
              hasEagerState: z.hasEagerState,
              eagerState: z.eagerState,
              next: null
            }, A === null ? (g = A = X, y = r) : A = A.next = X, Me.lanes |= M, ii |= M;
          X = z.action, ru && u(r, X), r = z.hasEagerState ? z.eagerState : u(r, X);
        } else
          M = {
            lane: X,
            revertLane: z.revertLane,
            gesture: z.gesture,
            action: z.action,
            hasEagerState: z.hasEagerState,
            eagerState: z.eagerState,
            next: null
          }, A === null ? (g = A = M, y = r) : A = A.next = M, Me.lanes |= X, ii |= X;
        z = z.next;
      } while (z !== null && z !== a);
      if (A === null ? y = r : A.next = g, !gl(r, l.memoizedState) && (Pt = !0, j && (u = lc, u !== null)))
        throw u;
      l.memoizedState = r, l.baseState = y, l.baseQueue = A, c.lastRenderedState = r;
    }
    return s === null && (c.lanes = 0), [l.memoizedState, c.dispatch];
  }
  function Zf(l) {
    var a = Nt(), u = a.queue;
    if (u === null) throw Error(v(311));
    u.lastRenderedReducer = l;
    var c = u.dispatch, s = u.pending, r = a.memoizedState;
    if (s !== null) {
      u.pending = null;
      var y = s = s.next;
      do
        r = l(r, y.action), y = y.next;
      while (y !== s);
      gl(r, a.memoizedState) || (Pt = !0), a.memoizedState = r, a.baseQueue === null && (a.baseState = r), u.lastRenderedState = r;
    }
    return [r, c];
  }
  function gy(l, a, u) {
    var c = Me, s = Nt(), r = ke;
    if (r) {
      if (u === void 0) throw Error(v(407));
      u = u();
    } else u = a();
    var y = !gl(
      (lt || s).memoizedState,
      u
    );
    if (y && (s.memoizedState = u, Pt = !0), s = s.queue, Cy(J0.bind(null, c, s, l), [
      l
    ]), s.getSnapshot !== a || y || Bt !== null && Bt.memoizedState.tag & 1) {
      if (c.flags |= 2048, ti(
        9,
        { destroy: void 0 },
        jr.bind(
          null,
          c,
          s,
          u,
          a
        ),
        null
      ), rt === null) throw Error(v(349));
      r || (Rn & 124) !== 0 || Dn(c, a, u);
    }
    return u;
  }
  function Dn(l, a, u) {
    l.flags |= 16384, l = { getSnapshot: a, value: u }, a = Me.updateQueue, a === null ? (a = Vf(), Me.updateQueue = a, a.stores = [l]) : (u = a.stores, u === null ? a.stores = [l] : u.push(l));
  }
  function jr(l, a, u, c) {
    a.value = u, a.getSnapshot = c, Vr(a) && On(l);
  }
  function J0(l, a, u) {
    return u(function() {
      Vr(a) && On(l);
    });
  }
  function Vr(l) {
    var a = l.getSnapshot;
    l = l.value;
    try {
      var u = a();
      return !gl(l, u);
    } catch {
      return !0;
    }
  }
  function On(l) {
    var a = au(l, 2);
    a !== null && na(a, l, 2);
  }
  function Xf(l) {
    var a = Ml();
    if (typeof l == "function") {
      var u = l;
      if (l = u(), ru) {
        sn(!0);
        try {
          u();
        } finally {
          sn(!1);
        }
      }
    }
    return a.memoizedState = a.baseState = l, a.queue = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: Fa,
      lastRenderedState: l
    }, a;
  }
  function py(l, a, u, c) {
    return l.baseState = u, Lr(
      l,
      lt,
      typeof c == "function" ? c : Fa
    );
  }
  function Gr(l, a, u, c, s) {
    if (Bl(l)) throw Error(v(485));
    if (l = a.action, l !== null) {
      var r = {
        payload: s,
        action: l,
        next: null,
        isTransition: !0,
        status: "pending",
        value: null,
        reason: null,
        listeners: [],
        then: function(y) {
          r.listeners.push(y);
        }
      };
      R.T !== null ? u(!0) : r.isTransition = !1, c(r), u = a.pending, u === null ? (r.next = a.pending = r, Ro(a, r)) : (r.next = u.next, a.pending = u.next = r);
    }
  }
  function Ro(l, a) {
    var u = a.action, c = a.payload, s = l.state;
    if (a.isTransition) {
      var r = R.T, y = {};
      R.T = y;
      try {
        var g = u(s, c), A = R.S;
        A !== null && A(y, g), At(l, a, g);
      } catch (z) {
        vy(l, a, z);
      } finally {
        r !== null && y.types !== null && (r.types = y.types), R.T = r;
      }
    } else
      try {
        r = u(s, c), At(l, a, r);
      } catch (z) {
        vy(l, a, z);
      }
  }
  function At(l, a, u) {
    u !== null && typeof u == "object" && typeof u.then == "function" ? u.then(
      function(c) {
        k0(l, a, c);
      },
      function(c) {
        return vy(l, a, c);
      }
    ) : k0(l, a, u);
  }
  function k0(l, a, u) {
    a.status = "fulfilled", a.value = u, Ay(a), l.state = u, a = l.pending, a !== null && (u = a.next, u === a ? l.pending = null : (u = u.next, a.next = u, Ro(l, u)));
  }
  function vy(l, a, u) {
    var c = l.pending;
    if (l.pending = null, c !== null) {
      c = c.next;
      do
        a.status = "rejected", a.reason = u, Ay(a), a = a.next;
      while (a !== c);
    }
    l.action = null;
  }
  function Ay(l) {
    l = l.listeners;
    for (var a = 0; a < l.length; a++) (0, l[a])();
  }
  function _a(l, a) {
    return a;
  }
  function Sy(l, a) {
    if (ke) {
      var u = rt.formState;
      if (u !== null) {
        e: {
          var c = Me;
          if (ke) {
            if (De) {
              t: {
                for (var s = De, r = ka; s.nodeType !== 8; ) {
                  if (!r) {
                    s = null;
                    break t;
                  }
                  if (s = Ba(
                    s.nextSibling
                  ), s === null) {
                    s = null;
                    break t;
                  }
                }
                r = s.data, s = r === "F!" || r === "F" ? s : null;
              }
              if (s) {
                De = Ba(
                  s.nextSibling
                ), c = s.data === "F!";
                break e;
              }
            }
            Pi(c);
          }
          c = !1;
        }
        c && (a = u[0]);
      }
    }
    return u = Ml(), u.memoizedState = u.baseState = a, c = {
      pending: null,
      lanes: 0,
      dispatch: null,
      lastRenderedReducer: _a,
      lastRenderedState: a
    }, u.queue = c, u = _r.bind(
      null,
      Me,
      c
    ), c.dispatch = u, c = Xf(!1), r = Pr.bind(
      null,
      Me,
      !1,
      c.queue
    ), c = Ml(), s = {
      state: a,
      dispatch: null,
      action: l,
      pending: null
    }, c.queue = s, u = Gr.bind(
      null,
      Me,
      s,
      r,
      u
    ), s.dispatch = u, c.memoizedState = l, [a, u, !1];
  }
  function Zr(l) {
    var a = Nt();
    return Do(a, lt, l);
  }
  function Do(l, a, u) {
    if (a = Lr(
      l,
      a,
      _a
    )[0], l = Gf(Fa)[0], typeof a == "object" && a !== null && typeof a.then == "function")
      try {
        var c = Eo(a);
      } catch (y) {
        throw y === Qf ? iu : y;
      }
    else c = a;
    a = Nt();
    var s = a.queue, r = s.dispatch;
    return u !== a.memoizedState && (Me.flags |= 2048, ti(
      9,
      { destroy: void 0 },
      Oo.bind(null, s, u),
      null
    )), [c, r, l];
  }
  function Oo(l, a) {
    l.action = a;
  }
  function by(l) {
    var a = Nt(), u = lt;
    if (u !== null)
      return Do(a, u, l);
    Nt(), a = a.memoizedState, u = Nt();
    var c = u.queue.dispatch;
    return u.memoizedState = l, [a, c, !1];
  }
  function ti(l, a, u, c) {
    return l = { tag: l, create: u, deps: c, inst: a, next: null }, a = Me.updateQueue, a === null && (a = Vf(), Me.updateQueue = a), u = a.lastEffect, u === null ? a.lastEffect = l.next = l : (c = u.next, u.next = l, l.next = c, a.lastEffect = l), l;
  }
  function Ey() {
    return Nt().memoizedState;
  }
  function Xr(l, a, u, c) {
    var s = Ml();
    Me.flags |= l, s.memoizedState = ti(
      1 | a,
      { destroy: void 0 },
      u,
      c === void 0 ? null : c
    );
  }
  function Jr(l, a, u, c) {
    var s = Nt();
    c = c === void 0 ? null : c;
    var r = s.memoizedState.inst;
    lt !== null && c !== null && Qr(c, lt.memoizedState.deps) ? s.memoizedState = ti(a, r, u, c) : (Me.flags |= l, s.memoizedState = ti(
      1 | a,
      r,
      u,
      c
    ));
  }
  function Ty(l, a) {
    Xr(8390656, 8, l, a);
  }
  function Cy(l, a) {
    Jr(2048, 8, l, a);
  }
  function zo(l, a) {
    return Jr(4, 2, l, a);
  }
  function Pa(l, a) {
    return Jr(4, 4, l, a);
  }
  function Ry(l, a) {
    if (typeof a == "function") {
      l = l();
      var u = a(l);
      return function() {
        typeof u == "function" ? u() : a(null);
      };
    }
    if (a != null)
      return l = l(), a.current = l, function() {
        a.current = null;
      };
  }
  function K0(l, a, u) {
    u = u != null ? u.concat([l]) : null, Jr(4, 4, Ry.bind(null, a, l), u);
  }
  function kr() {
  }
  function Kr(l, a) {
    var u = Nt();
    a = a === void 0 ? null : a;
    var c = u.memoizedState;
    return a !== null && Qr(a, c[1]) ? c[0] : (u.memoizedState = [l, a], l);
  }
  function Dy(l, a) {
    var u = Nt();
    a = a === void 0 ? null : a;
    var c = u.memoizedState;
    if (a !== null && Qr(a, c[1]))
      return c[0];
    if (c = l(), ru) {
      sn(!0);
      try {
        l();
      } finally {
        sn(!1);
      }
    }
    return u.memoizedState = [c, a], c;
  }
  function Jf(l, a, u) {
    return u === void 0 || (Rn & 1073741824) !== 0 ? l.memoizedState = a : (l.memoizedState = u, l = em(), Me.lanes |= l, ii |= l, u);
  }
  function Wr(l, a, u, c) {
    return gl(u, a) ? u : So.current !== null ? (l = Jf(l, u, c), gl(l, a) || (Pt = !0), l) : (Rn & 42) === 0 || (Rn & 1073741824) !== 0 ? (Pt = !0, l.memoizedState = u) : (l = em(), Me.lanes |= l, ii |= l, a);
  }
  function kf(l, a, u, c, s) {
    var r = J.p;
    J.p = r !== 0 && 8 > r ? r : 8;
    var y = R.T, g = {};
    R.T = g, Pr(l, !1, a, u);
    try {
      var A = s(), z = R.S;
      if (z !== null && z(g, A), A !== null && typeof A == "object" && typeof A.then == "function") {
        var j = oy(
          A,
          c
        );
        Sl(
          l,
          a,
          j,
          aa(l)
        );
      } else
        Sl(
          l,
          a,
          c,
          aa(l)
        );
    } catch (X) {
      Sl(
        l,
        a,
        { then: function() {
        }, status: "rejected", reason: X },
        aa()
      );
    } finally {
      J.p = r, y !== null && g.types !== null && (y.types = g.types), R.T = y;
    }
  }
  function xp() {
  }
  function Ir(l, a, u, c) {
    if (l.tag !== 5) throw Error(v(476));
    var s = W0(l).queue;
    kf(
      l,
      s,
      a,
      W,
      u === null ? xp : function() {
        return Oy(l), u(c);
      }
    );
  }
  function W0(l) {
    var a = l.memoizedState;
    if (a !== null) return a;
    a = {
      memoizedState: W,
      baseState: W,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: Fa,
        lastRenderedState: W
      },
      next: null
    };
    var u = {};
    return a.next = {
      memoizedState: u,
      baseState: u,
      baseQueue: null,
      queue: {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: Fa,
        lastRenderedState: u
      },
      next: null
    }, l.memoizedState = a, l = l.alternate, l !== null && (l.memoizedState = a), a;
  }
  function Oy(l) {
    var a = W0(l).next.queue;
    Sl(l, a, {}, aa());
  }
  function Fr() {
    return vl(Dc);
  }
  function zn() {
    return Nt().memoizedState;
  }
  function zy() {
    return Nt().memoizedState;
  }
  function I0(l) {
    for (var a = l.return; a !== null; ) {
      switch (a.tag) {
        case 24:
        case 3:
          var u = aa();
          l = bn(u);
          var c = fu(a, l, u);
          c !== null && (na(c, a, u), vo(c, a, u)), a = { cache: Hf() }, l.payload = a;
          return;
      }
      a = a.return;
    }
  }
  function Hp(l, a, u) {
    var c = aa();
    u = {
      lane: c,
      revertLane: 0,
      gesture: null,
      action: u,
      hasEagerState: !1,
      eagerState: null,
      next: null
    }, Bl(l) ? Uy(a, u) : (u = ki(l, a, u, c), u !== null && (na(u, l, c), Un(u, a, c)));
  }
  function _r(l, a, u) {
    var c = aa();
    Sl(l, a, u, c);
  }
  function Sl(l, a, u, c) {
    var s = {
      lane: c,
      revertLane: 0,
      gesture: null,
      action: u,
      hasEagerState: !1,
      eagerState: null,
      next: null
    };
    if (Bl(l)) Uy(a, s);
    else {
      var r = l.alternate;
      if (l.lanes === 0 && (r === null || r.lanes === 0) && (r = a.lastRenderedReducer, r !== null))
        try {
          var y = a.lastRenderedState, g = r(y, u);
          if (s.hasEagerState = !0, s.eagerState = g, gl(g, y))
            return Ji(l, a, s, 0), rt === null && Xi(), !1;
        } catch {
        } finally {
        }
      if (u = ki(l, a, s, c), u !== null)
        return na(u, l, c), Un(u, a, c), !0;
    }
    return !1;
  }
  function Pr(l, a, u, c) {
    if (c = {
      lane: 2,
      revertLane: Ud(),
      gesture: null,
      action: c,
      hasEagerState: !1,
      eagerState: null,
      next: null
    }, Bl(l)) {
      if (a) throw Error(v(479));
    } else
      a = ki(
        l,
        u,
        c,
        2
      ), a !== null && na(a, l, 2);
  }
  function Bl(l) {
    var a = l.alternate;
    return l === Me || a !== null && a === Me;
  }
  function Uy(l, a) {
    ei = Yf = !0;
    var u = l.pending;
    u === null ? a.next = a : (a.next = u.next, u.next = a), l.pending = a;
  }
  function Un(l, a, u) {
    if ((u & 4194048) !== 0) {
      var c = a.lanes;
      c &= l.pendingLanes, u |= c, a.lanes = u, Bu(l, u);
    }
  }
  var Kf = {
    readContext: vl,
    use: To,
    useCallback: Qt,
    useContext: Qt,
    useEffect: Qt,
    useImperativeHandle: Qt,
    useLayoutEffect: Qt,
    useInsertionEffect: Qt,
    useMemo: Qt,
    useReducer: Qt,
    useRef: Qt,
    useState: Qt,
    useDebugValue: Qt,
    useDeferredValue: Qt,
    useTransition: Qt,
    useSyncExternalStore: Qt,
    useId: Qt,
    useHostTransitionStatus: Qt,
    useFormState: Qt,
    useActionState: Qt,
    useOptimistic: Qt,
    useMemoCache: Qt,
    useCacheRefresh: Qt
  }, li = {
    readContext: vl,
    use: To,
    useCallback: function(l, a) {
      return Ml().memoizedState = [
        l,
        a === void 0 ? null : a
      ], l;
    },
    useContext: vl,
    useEffect: Ty,
    useImperativeHandle: function(l, a, u) {
      u = u != null ? u.concat([l]) : null, Xr(
        4194308,
        4,
        Ry.bind(null, a, l),
        u
      );
    },
    useLayoutEffect: function(l, a) {
      return Xr(4194308, 4, l, a);
    },
    useInsertionEffect: function(l, a) {
      Xr(4, 2, l, a);
    },
    useMemo: function(l, a) {
      var u = Ml();
      a = a === void 0 ? null : a;
      var c = l();
      if (ru) {
        sn(!0);
        try {
          l();
        } finally {
          sn(!1);
        }
      }
      return u.memoizedState = [c, a], c;
    },
    useReducer: function(l, a, u) {
      var c = Ml();
      if (u !== void 0) {
        var s = u(a);
        if (ru) {
          sn(!0);
          try {
            u(a);
          } finally {
            sn(!1);
          }
        }
      } else s = a;
      return c.memoizedState = c.baseState = s, l = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: l,
        lastRenderedState: s
      }, c.queue = l, l = l.dispatch = Hp.bind(
        null,
        Me,
        l
      ), [c.memoizedState, l];
    },
    useRef: function(l) {
      var a = Ml();
      return l = { current: l }, a.memoizedState = l;
    },
    useState: function(l) {
      l = Xf(l);
      var a = l.queue, u = _r.bind(null, Me, a);
      return a.dispatch = u, [l.memoizedState, u];
    },
    useDebugValue: kr,
    useDeferredValue: function(l, a) {
      var u = Ml();
      return Jf(u, l, a);
    },
    useTransition: function() {
      var l = Xf(!1);
      return l = kf.bind(
        null,
        Me,
        l.queue,
        !0,
        !1
      ), Ml().memoizedState = l, [!1, l];
    },
    useSyncExternalStore: function(l, a, u) {
      var c = Me, s = Ml();
      if (ke) {
        if (u === void 0)
          throw Error(v(407));
        u = u();
      } else {
        if (u = a(), rt === null)
          throw Error(v(349));
        (Ve & 124) !== 0 || Dn(c, a, u);
      }
      s.memoizedState = u;
      var r = { value: u, getSnapshot: a };
      return s.queue = r, Ty(J0.bind(null, c, r, l), [
        l
      ]), c.flags |= 2048, ti(
        9,
        { destroy: void 0 },
        jr.bind(
          null,
          c,
          r,
          u,
          a
        ),
        null
      ), u;
    },
    useId: function() {
      var l = Ml(), a = rt.identifierPrefix;
      if (ke) {
        var u = pl, c = Ul;
        u = (c & ~(1 << 32 - hl(c) - 1)).toString(32) + u, a = "«" + a + "R" + u, u = bo++, 0 < u && (a += "H" + u.toString(32)), a += "»";
      } else
        u = X0++, a = "«" + a + "r" + u.toString(32) + "»";
      return l.memoizedState = a;
    },
    useHostTransitionStatus: Fr,
    useFormState: Sy,
    useActionState: Sy,
    useOptimistic: function(l) {
      var a = Ml();
      a.memoizedState = a.baseState = l;
      var u = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: null,
        lastRenderedState: null
      };
      return a.queue = u, a = Pr.bind(
        null,
        Me,
        !0,
        u
      ), u.dispatch = a, [l, a];
    },
    useMemoCache: Co,
    useCacheRefresh: function() {
      return Ml().memoizedState = I0.bind(
        null,
        Me
      );
    }
  }, My = {
    readContext: vl,
    use: To,
    useCallback: Kr,
    useContext: vl,
    useEffect: Cy,
    useImperativeHandle: K0,
    useInsertionEffect: zo,
    useLayoutEffect: Pa,
    useMemo: Dy,
    useReducer: Gf,
    useRef: Ey,
    useState: function() {
      return Gf(Fa);
    },
    useDebugValue: kr,
    useDeferredValue: function(l, a) {
      var u = Nt();
      return Wr(
        u,
        lt.memoizedState,
        l,
        a
      );
    },
    useTransition: function() {
      var l = Gf(Fa)[0], a = Nt().memoizedState;
      return [
        typeof l == "boolean" ? l : Eo(l),
        a
      ];
    },
    useSyncExternalStore: gy,
    useId: zn,
    useHostTransitionStatus: Fr,
    useFormState: Zr,
    useActionState: Zr,
    useOptimistic: function(l, a) {
      var u = Nt();
      return py(u, lt, l, a);
    },
    useMemoCache: Co,
    useCacheRefresh: zy
  }, du = {
    readContext: vl,
    use: To,
    useCallback: Kr,
    useContext: vl,
    useEffect: Cy,
    useImperativeHandle: K0,
    useInsertionEffect: zo,
    useLayoutEffect: Pa,
    useMemo: Dy,
    useReducer: Zf,
    useRef: Ey,
    useState: function() {
      return Zf(Fa);
    },
    useDebugValue: kr,
    useDeferredValue: function(l, a) {
      var u = Nt();
      return lt === null ? Jf(u, l, a) : Wr(
        u,
        lt.memoizedState,
        l,
        a
      );
    },
    useTransition: function() {
      var l = Zf(Fa)[0], a = Nt().memoizedState;
      return [
        typeof l == "boolean" ? l : Eo(l),
        a
      ];
    },
    useSyncExternalStore: gy,
    useId: zn,
    useHostTransitionStatus: Fr,
    useFormState: by,
    useActionState: by,
    useOptimistic: function(l, a) {
      var u = Nt();
      return lt !== null ? py(u, lt, l, a) : (u.baseState = l, [l, u.queue.dispatch]);
    },
    useMemoCache: Co,
    useCacheRefresh: zy
  };
  function Wf(l, a, u, c) {
    a = l.memoizedState, u = u(c, a), u = u == null ? a : re({}, a, u), l.memoizedState = u, l.lanes === 0 && (l.updateQueue.baseState = u);
  }
  var If = {
    enqueueSetState: function(l, a, u) {
      l = l._reactInternals;
      var c = aa(), s = bn(c);
      s.payload = a, u != null && (s.callback = u), a = fu(l, s, c), a !== null && (na(a, l, c), vo(a, l, c));
    },
    enqueueReplaceState: function(l, a, u) {
      l = l._reactInternals;
      var c = aa(), s = bn(c);
      s.tag = 1, s.payload = a, u != null && (s.callback = u), a = fu(l, s, c), a !== null && (na(a, l, c), vo(a, l, c));
    },
    enqueueForceUpdate: function(l, a) {
      l = l._reactInternals;
      var u = aa(), c = bn(u);
      c.tag = 2, a != null && (c.callback = a), a = fu(l, c, u), a !== null && (na(a, l, u), vo(a, l, u));
    }
  };
  function $a(l, a, u, c, s, r, y) {
    return l = l.stateNode, typeof l.shouldComponentUpdate == "function" ? l.shouldComponentUpdate(c, r, y) : a.prototype && a.prototype.isPureReactComponent ? !Zu(u, c) || !Zu(s, r) : !0;
  }
  function By(l, a, u, c) {
    l = a.state, typeof a.componentWillReceiveProps == "function" && a.componentWillReceiveProps(u, c), typeof a.UNSAFE_componentWillReceiveProps == "function" && a.UNSAFE_componentWillReceiveProps(u, c), a.state !== l && If.enqueueReplaceState(a, a.state, null);
  }
  function Da(l, a) {
    var u = a;
    if ("ref" in a) {
      u = {};
      for (var c in a)
        c !== "ref" && (u[c] = a[c]);
    }
    if (l = l.defaultProps) {
      u === a && (u = re({}, u));
      for (var s in l)
        u[s] === void 0 && (u[s] = l[s]);
    }
    return u;
  }
  var Ff = typeof reportError == "function" ? reportError : function(l) {
    if (typeof window == "object" && typeof window.ErrorEvent == "function") {
      var a = new window.ErrorEvent("error", {
        bubbles: !0,
        cancelable: !0,
        message: typeof l == "object" && l !== null && typeof l.message == "string" ? String(l.message) : String(l),
        error: l
      });
      if (!window.dispatchEvent(a)) return;
    } else if (typeof process == "object" && typeof process.emit == "function") {
      process.emit("uncaughtException", l);
      return;
    }
    console.error(l);
  };
  function Uo(l) {
    Ff(l);
  }
  function sc(l) {
    console.error(l);
  }
  function xy(l) {
    Ff(l);
  }
  function _f(l, a) {
    try {
      var u = l.onUncaughtError;
      u(a.value, { componentStack: a.stack });
    } catch (c) {
      setTimeout(function() {
        throw c;
      });
    }
  }
  function Mo(l, a, u) {
    try {
      var c = l.onCaughtError;
      c(u.value, {
        componentStack: u.stack,
        errorBoundary: a.tag === 1 ? a.stateNode : null
      });
    } catch (s) {
      setTimeout(function() {
        throw s;
      });
    }
  }
  function $r(l, a, u) {
    return u = bn(u), u.tag = 3, u.payload = { element: null }, u.callback = function() {
      _f(l, a);
    }, u;
  }
  function Pf(l) {
    return l = bn(l), l.tag = 3, l;
  }
  function Hy(l, a, u, c) {
    var s = u.type.getDerivedStateFromError;
    if (typeof s == "function") {
      var r = c.value;
      l.payload = function() {
        return s(r);
      }, l.callback = function() {
        Mo(a, u, c);
      };
    }
    var y = u.stateNode;
    y !== null && typeof y.componentDidCatch == "function" && (l.callback = function() {
      Mo(a, u, c), typeof s != "function" && (ci === null ? ci = /* @__PURE__ */ new Set([this]) : ci.add(this));
      var g = c.stack;
      this.componentDidCatch(c.value, {
        componentStack: g !== null ? g : ""
      });
    });
  }
  function F0(l, a, u, c, s) {
    if (u.flags |= 32768, c !== null && typeof c == "object" && typeof c.then == "function") {
      if (a = u.alternate, a !== null && uu(
        a,
        u,
        s,
        !0
      ), u = Gl.current, u !== null) {
        switch (u.tag) {
          case 13:
            return Ia === null ? Ac() : u.alternate === null && zt === 0 && (zt = 3), u.flags &= -257, u.flags |= 65536, u.lanes = s, c === go ? u.flags |= 16384 : (a = u.updateQueue, a === null ? u.updateQueue = /* @__PURE__ */ new Set([c]) : a.add(c), om(l, c, s)), !1;
          case 22:
            return u.flags |= 65536, c === go ? u.flags |= 16384 : (a = u.updateQueue, a === null ? (a = {
              transitions: null,
              markerInstances: null,
              retryQueue: /* @__PURE__ */ new Set([c])
            }, u.updateQueue = a) : (u = a.retryQueue, u === null ? a.retryQueue = /* @__PURE__ */ new Set([c]) : u.add(c)), om(l, c, s)), !1;
        }
        throw Error(v(435, u.tag));
      }
      return om(l, c, s), Ac(), !1;
    }
    if (ke)
      return a = Gl.current, a !== null ? ((a.flags & 65536) === 0 && (a.flags |= 256), a.flags |= 65536, a.lanes = s, c !== Mf && (l = Error(v(422), { cause: c }), ec(ya(l, u)))) : (c !== Mf && (a = Error(v(423), {
        cause: c
      }), ec(
        ya(a, u)
      )), l = l.current.alternate, l.flags |= 65536, s &= -s, l.lanes |= s, c = ya(c, u), s = $r(
        l.stateNode,
        c,
        s
      ), wf(l, s), zt !== 4 && (zt = 2)), !1;
    var r = Error(v(520), { cause: c });
    if (r = ya(r, u), cs === null ? cs = [r] : cs.push(r), zt !== 4 && (zt = 2), a === null) return !0;
    c = ya(c, u), u = a;
    do {
      switch (u.tag) {
        case 3:
          return u.flags |= 65536, l = s & -s, u.lanes |= l, l = $r(u.stateNode, c, l), wf(u, l), !1;
        case 1:
          if (a = u.type, r = u.stateNode, (u.flags & 128) === 0 && (typeof a.getDerivedStateFromError == "function" || r !== null && typeof r.componentDidCatch == "function" && (ci === null || !ci.has(r))))
            return u.flags |= 65536, s &= -s, u.lanes |= s, s = Pf(s), Hy(
              s,
              l,
              u,
              c
            ), wf(u, s), !1;
      }
      u = u.return;
    } while (u !== null);
    return !1;
  }
  var _0 = Error(v(461)), Pt = !1;
  function at(l, a, u, c) {
    a.child = l === null ? Or(a, null, u, c) : oc(
      a,
      l.child,
      u,
      c
    );
  }
  function Qy(l, a, u, c, s) {
    u = u.render;
    var r = a.ref;
    if ("ref" in c) {
      var y = {};
      for (var g in c)
        g !== "ref" && (y[g] = c[g]);
    } else y = c;
    return Sn(a), c = Nr(
      l,
      a,
      u,
      y,
      r,
      s
    ), g = wr(), l !== null && !Pt ? (qr(l, a, s), hu(l, a, s)) : (ke && g && K(a), a.flags |= 1, at(l, a, c, s), a.child);
  }
  function wt(l, a, u, c, s) {
    if (l === null) {
      var r = u.type;
      return typeof r == "function" && !vn(r) && r.defaultProps === void 0 && u.compare === null ? (a.tag = 15, a.type = r, Ny(
        l,
        a,
        r,
        c,
        s
      )) : (l = Ii(
        u.type,
        null,
        c,
        a,
        a.mode,
        s
      ), l.ref = a.ref, l.return = a, a.child = l);
    }
    if (r = l.child, !ni(l, s)) {
      var y = r.memoizedProps;
      if (u = u.compare, u = u !== null ? u : Zu, u(y, c) && l.ref === a.ref)
        return hu(l, a, s);
    }
    return a.flags |= 1, l = zl(r, c), l.ref = a.ref, l.return = a, a.child = l;
  }
  function Ny(l, a, u, c, s) {
    if (l !== null) {
      var r = l.memoizedProps;
      if (Zu(r, c) && l.ref === a.ref)
        if (Pt = !1, a.pendingProps = c = r, ni(l, s))
          (l.flags & 131072) !== 0 && (Pt = !0);
        else
          return a.lanes = l.lanes, hu(l, a, s);
    }
    return ai(
      l,
      a,
      u,
      c,
      s
    );
  }
  function wy(l, a, u) {
    var c = a.pendingProps, s = c.children, r = l !== null ? l.memoizedState : null;
    if (c.mode === "hidden") {
      if ((a.flags & 128) !== 0) {
        if (c = r !== null ? r.baseLanes | u : u, l !== null) {
          for (s = a.child = l.child, r = 0; s !== null; )
            r = r | s.lanes | s.childLanes, s = s.sibling;
          a.childLanes = r & ~c;
        } else a.childLanes = 0, a.child = null;
        return P0(
          l,
          a,
          c,
          u
        );
      }
      if ((u & 536870912) !== 0)
        a.memoizedState = { baseLanes: 0, cachePool: null }, l !== null && ac(
          a,
          r !== null ? r.cachePool : null
        ), r !== null ? hy(a, r) : fc(), Hr(a);
      else
        return a.lanes = a.childLanes = 536870912, P0(
          l,
          a,
          r !== null ? r.baseLanes | u : u,
          u
        );
    } else
      r !== null ? (ac(a, r.cachePool), hy(a, r), En(), a.memoizedState = null) : (l !== null && ac(a, null), fc(), En());
    return at(l, a, s, u), a.child;
  }
  function P0(l, a, u, c) {
    var s = _u();
    return s = s === null ? null : { parent: Yt._currentValue, pool: s }, a.memoizedState = {
      baseLanes: u,
      cachePool: s
    }, l !== null && ac(a, null), fc(), Hr(a), l !== null && uu(l, a, c, !0), null;
  }
  function en(l, a) {
    var u = a.ref;
    if (u === null)
      l !== null && l.ref !== null && (a.flags |= 4194816);
    else {
      if (typeof u != "function" && typeof u != "object")
        throw Error(v(284));
      (l === null || l.ref !== u) && (a.flags |= 4194816);
    }
  }
  function ai(l, a, u, c, s) {
    return Sn(a), u = Nr(
      l,
      a,
      u,
      c,
      void 0,
      s
    ), c = wr(), l !== null && !Pt ? (qr(l, a, s), hu(l, a, s)) : (ke && c && K(a), a.flags |= 1, at(l, a, u, s), a.child);
  }
  function ed(l, a, u, c, s, r) {
    return Sn(a), a.updateQueue = null, u = jf(
      a,
      c,
      u,
      s
    ), yy(l), c = wr(), l !== null && !Pt ? (qr(l, a, r), hu(l, a, r)) : (ke && c && K(a), a.flags |= 1, at(l, a, u, r), a.child);
  }
  function rc(l, a, u, c, s) {
    if (Sn(a), a.stateNode === null) {
      var r = Wi, y = u.contextType;
      typeof y == "object" && y !== null && (r = vl(y)), r = new u(c, r), a.memoizedState = r.state !== null && r.state !== void 0 ? r.state : null, r.updater = If, a.stateNode = r, r._reactInternals = a, r = a.stateNode, r.props = c, r.state = a.memoizedState, r.refs = {}, po(a), y = u.contextType, r.context = typeof y == "object" && y !== null ? vl(y) : Wi, r.state = a.memoizedState, y = u.getDerivedStateFromProps, typeof y == "function" && (Wf(
        a,
        u,
        y,
        c
      ), r.state = a.memoizedState), typeof u.getDerivedStateFromProps == "function" || typeof r.getSnapshotBeforeUpdate == "function" || typeof r.UNSAFE_componentWillMount != "function" && typeof r.componentWillMount != "function" || (y = r.state, typeof r.componentWillMount == "function" && r.componentWillMount(), typeof r.UNSAFE_componentWillMount == "function" && r.UNSAFE_componentWillMount(), y !== r.state && If.enqueueReplaceState(r, r.state, null), Wa(a, c, r, s), Ao(), r.state = a.memoizedState), typeof r.componentDidMount == "function" && (a.flags |= 4194308), c = !0;
    } else if (l === null) {
      r = a.stateNode;
      var g = a.memoizedProps, A = Da(u, g);
      r.props = A;
      var z = r.context, j = u.contextType;
      y = Wi, typeof j == "object" && j !== null && (y = vl(j));
      var X = u.getDerivedStateFromProps;
      j = typeof X == "function" || typeof r.getSnapshotBeforeUpdate == "function", g = a.pendingProps !== g, j || typeof r.UNSAFE_componentWillReceiveProps != "function" && typeof r.componentWillReceiveProps != "function" || (g || z !== y) && By(
        a,
        r,
        c,
        y
      ), ou = !1;
      var M = a.memoizedState;
      r.state = M, Wa(a, c, r, s), Ao(), z = a.memoizedState, g || M !== z || ou ? (typeof X == "function" && (Wf(
        a,
        u,
        X,
        c
      ), z = a.memoizedState), (A = ou || $a(
        a,
        u,
        A,
        c,
        M,
        z,
        y
      )) ? (j || typeof r.UNSAFE_componentWillMount != "function" && typeof r.componentWillMount != "function" || (typeof r.componentWillMount == "function" && r.componentWillMount(), typeof r.UNSAFE_componentWillMount == "function" && r.UNSAFE_componentWillMount()), typeof r.componentDidMount == "function" && (a.flags |= 4194308)) : (typeof r.componentDidMount == "function" && (a.flags |= 4194308), a.memoizedProps = c, a.memoizedState = z), r.props = c, r.state = z, r.context = y, c = A) : (typeof r.componentDidMount == "function" && (a.flags |= 4194308), c = !1);
    } else {
      r = a.stateNode, zr(l, a), y = a.memoizedProps, j = Da(u, y), r.props = j, X = a.pendingProps, M = r.context, z = u.contextType, A = Wi, typeof z == "object" && z !== null && (A = vl(z)), g = u.getDerivedStateFromProps, (z = typeof g == "function" || typeof r.getSnapshotBeforeUpdate == "function") || typeof r.UNSAFE_componentWillReceiveProps != "function" && typeof r.componentWillReceiveProps != "function" || (y !== X || M !== A) && By(
        a,
        r,
        c,
        A
      ), ou = !1, M = a.memoizedState, r.state = M, Wa(a, c, r, s), Ao();
      var x = a.memoizedState;
      y !== X || M !== x || ou || l !== null && l.dependencies !== null && so(l.dependencies) ? (typeof g == "function" && (Wf(
        a,
        u,
        g,
        c
      ), x = a.memoizedState), (j = ou || $a(
        a,
        u,
        j,
        c,
        M,
        x,
        A
      ) || l !== null && l.dependencies !== null && so(l.dependencies)) ? (z || typeof r.UNSAFE_componentWillUpdate != "function" && typeof r.componentWillUpdate != "function" || (typeof r.componentWillUpdate == "function" && r.componentWillUpdate(c, x, A), typeof r.UNSAFE_componentWillUpdate == "function" && r.UNSAFE_componentWillUpdate(
        c,
        x,
        A
      )), typeof r.componentDidUpdate == "function" && (a.flags |= 4), typeof r.getSnapshotBeforeUpdate == "function" && (a.flags |= 1024)) : (typeof r.componentDidUpdate != "function" || y === l.memoizedProps && M === l.memoizedState || (a.flags |= 4), typeof r.getSnapshotBeforeUpdate != "function" || y === l.memoizedProps && M === l.memoizedState || (a.flags |= 1024), a.memoizedProps = c, a.memoizedState = x), r.props = c, r.state = x, r.context = A, c = j) : (typeof r.componentDidUpdate != "function" || y === l.memoizedProps && M === l.memoizedState || (a.flags |= 4), typeof r.getSnapshotBeforeUpdate != "function" || y === l.memoizedProps && M === l.memoizedState || (a.flags |= 1024), c = !1);
    }
    return r = c, en(l, a), c = (a.flags & 128) !== 0, r || c ? (r = a.stateNode, u = c && typeof u.getDerivedStateFromError != "function" ? null : r.render(), a.flags |= 1, l !== null && c ? (a.child = oc(
      a,
      l.child,
      null,
      s
    ), a.child = oc(
      a,
      null,
      u,
      s
    )) : at(l, a, u, s), a.memoizedState = r.state, l = a.child) : l = hu(
      l,
      a,
      s
    ), l;
  }
  function qy(l, a, u, c) {
    return il(), a.flags |= 256, at(l, a, u, c), a.child;
  }
  var td = {
    dehydrated: null,
    treeContext: null,
    retryLane: 0,
    hydrationErrors: null
  };
  function ld(l) {
    return { baseLanes: l, cachePool: sy() };
  }
  function ad(l, a, u) {
    return l = l !== null ? l.childLanes & ~u : 0, a && (l |= Ua), l;
  }
  function nd(l, a, u) {
    var c = a.pendingProps, s = !1, r = (a.flags & 128) !== 0, y;
    if ((y = r) || (y = l !== null && l.memoizedState === null ? !1 : (jt.current & 2) !== 0), y && (s = !0, a.flags &= -129), y = (a.flags & 32) !== 0, a.flags &= -33, l === null) {
      if (ke) {
        if (s ? su(a) : En(), ke) {
          var g = De, A;
          if (A = g) {
            e: {
              for (A = g, g = ka; A.nodeType !== 8; ) {
                if (!g) {
                  g = null;
                  break e;
                }
                if (A = Ba(
                  A.nextSibling
                ), A === null) {
                  g = null;
                  break e;
                }
              }
              g = A;
            }
            g !== null ? (a.memoizedState = {
              dehydrated: g,
              treeContext: Ku !== null ? { id: Ul, overflow: pl } : null,
              retryLane: 536870912,
              hydrationErrors: null
            }, A = jl(
              18,
              null,
              null,
              0
            ), A.stateNode = g, A.return = a, a.child = A, ul = a, De = null, A = !0) : A = !1;
          }
          A || Pi(a);
        }
        if (g = a.memoizedState, g !== null && (g = g.dehydrated, g !== null))
          return Nd(g) ? a.lanes = 32 : a.lanes = 536870912, null;
        Tn(a);
      }
      return g = c.children, c = c.fallback, s ? (En(), s = a.mode, g = es(
        { mode: "hidden", children: g },
        s
      ), c = Ja(
        c,
        s,
        u,
        null
      ), g.return = a, c.return = a, g.sibling = c, a.child = g, s = a.child, s.memoizedState = ld(u), s.childLanes = ad(
        l,
        y,
        u
      ), a.memoizedState = td, c) : (su(a), $f(a, g));
    }
    if (A = l.memoizedState, A !== null && (g = A.dehydrated, g !== null)) {
      if (r)
        a.flags & 256 ? (su(a), a.flags &= -257, a = Yy(
          l,
          a,
          u
        )) : a.memoizedState !== null ? (En(), a.child = l.child, a.flags |= 128, a = null) : (En(), s = c.fallback, g = a.mode, c = es(
          { mode: "visible", children: c.children },
          g
        ), s = Ja(
          s,
          g,
          u,
          null
        ), s.flags |= 2, c.return = a, s.return = a, c.sibling = s, a.child = c, oc(
          a,
          l.child,
          null,
          u
        ), c = a.child, c.memoizedState = ld(u), c.childLanes = ad(
          l,
          y,
          u
        ), a.memoizedState = td, a = s);
      else if (su(a), Nd(g)) {
        if (y = g.nextSibling && g.nextSibling.dataset, y) var z = y.dgst;
        y = z, c = Error(v(419)), c.stack = "", c.digest = y, ec({ value: c, source: null, stack: null }), a = Yy(
          l,
          a,
          u
        );
      } else if (Pt || uu(l, a, u, !1), y = (u & l.childLanes) !== 0, Pt || y) {
        if (y = rt, y !== null && (c = u & -u, c = (c & 42) !== 0 ? 1 : xu(c), c = (c & (y.suspendedLanes | u)) !== 0 ? 0 : c, c !== 0 && c !== A.retryLane))
          throw A.retryLane = c, au(l, c), na(y, l, c), _0;
        g.data === "$?" || Ac(), a = Yy(
          l,
          a,
          u
        );
      } else
        g.data === "$?" ? (a.flags |= 192, a.child = l.child, a = null) : (l = A.treeContext, De = Ba(
          g.nextSibling
        ), ul = a, ke = !0, nu = null, ka = !1, l !== null && (Pl[_t++] = Ul, Pl[_t++] = pl, Pl[_t++] = Ku, Ul = l.id, pl = l.overflow, Ku = a), a = $f(
          a,
          c.children
        ), a.flags |= 4096);
      return a;
    }
    return s ? (En(), s = c.fallback, g = a.mode, A = l.child, z = A.sibling, c = zl(A, {
      mode: "hidden",
      children: c.children
    }), c.subtreeFlags = A.subtreeFlags & 65011712, z !== null ? s = zl(z, s) : (s = Ja(
      s,
      g,
      u,
      null
    ), s.flags |= 2), s.return = a, c.return = a, c.sibling = s, a.child = c, c = s, s = a.child, g = l.child.memoizedState, g === null ? g = ld(u) : (A = g.cachePool, A !== null ? (z = Yt._currentValue, A = A.parent !== z ? { parent: z, pool: z } : A) : A = sy(), g = {
      baseLanes: g.baseLanes | u,
      cachePool: A
    }), s.memoizedState = g, s.childLanes = ad(
      l,
      y,
      u
    ), a.memoizedState = td, c) : (su(a), u = l.child, l = u.sibling, u = zl(u, {
      mode: "visible",
      children: c.children
    }), u.return = a, u.sibling = null, l !== null && (y = a.deletions, y === null ? (a.deletions = [l], a.flags |= 16) : y.push(l)), a.child = u, a.memoizedState = null, u);
  }
  function $f(l, a) {
    return a = es(
      { mode: "visible", children: a },
      l.mode
    ), a.return = l, l.child = a;
  }
  function es(l, a) {
    return l = jl(22, l, null, a), l.lanes = 0, l.stateNode = {
      _visibility: 1,
      _pendingMarkers: null,
      _retryCache: null,
      _transitions: null
    }, l;
  }
  function Yy(l, a, u) {
    return oc(a, l.child, null, u), l = $f(
      a,
      a.pendingProps.children
    ), l.flags |= 2, a.memoizedState = null, l;
  }
  function $0(l, a, u) {
    l.lanes |= a;
    var c = l.alternate;
    c !== null && (c.lanes |= a), Iu(l.return, a, u);
  }
  function ud(l, a, u, c, s) {
    var r = l.memoizedState;
    r === null ? l.memoizedState = {
      isBackwards: a,
      rendering: null,
      renderingStartTime: 0,
      last: c,
      tail: u,
      tailMode: s
    } : (r.isBackwards = a, r.rendering = null, r.renderingStartTime = 0, r.last = c, r.tail = u, r.tailMode = s);
  }
  function Ly(l, a, u) {
    var c = a.pendingProps, s = c.revealOrder, r = c.tail;
    if (at(l, a, c.children, u), c = jt.current, (c & 2) !== 0)
      c = c & 1 | 2, a.flags |= 128;
    else {
      if (l !== null && (l.flags & 128) !== 0)
        e: for (l = a.child; l !== null; ) {
          if (l.tag === 13)
            l.memoizedState !== null && $0(l, u, a);
          else if (l.tag === 19)
            $0(l, u, a);
          else if (l.child !== null) {
            l.child.return = l, l = l.child;
            continue;
          }
          if (l === a) break e;
          for (; l.sibling === null; ) {
            if (l.return === null || l.return === a)
              break e;
            l = l.return;
          }
          l.sibling.return = l.return, l = l.sibling;
        }
      c &= 1;
    }
    switch (pe(jt, c), s) {
      case "forwards":
        for (u = a.child, s = null; u !== null; )
          l = u.alternate, l !== null && Cn(l) === null && (s = u), u = u.sibling;
        u = s, u === null ? (s = a.child, a.child = null) : (s = u.sibling, u.sibling = null), ud(
          a,
          !1,
          s,
          u,
          r
        );
        break;
      case "backwards":
        for (u = null, s = a.child, a.child = null; s !== null; ) {
          if (l = s.alternate, l !== null && Cn(l) === null) {
            a.child = s;
            break;
          }
          l = s.sibling, s.sibling = u, u = s, s = l;
        }
        ud(
          a,
          !0,
          u,
          null,
          r
        );
        break;
      case "together":
        ud(a, !1, null, null, void 0);
        break;
      default:
        a.memoizedState = null;
    }
    return a.child;
  }
  function hu(l, a, u) {
    if (l !== null && (a.dependencies = l.dependencies), ii |= a.lanes, (u & a.childLanes) === 0)
      if (l !== null) {
        if (uu(
          l,
          a,
          u,
          !1
        ), (u & a.childLanes) === 0)
          return null;
      } else return null;
    if (l !== null && a.child !== l.child)
      throw Error(v(153));
    if (a.child !== null) {
      for (l = a.child, u = zl(l, l.pendingProps), a.child = u, u.return = a; l.sibling !== null; )
        l = l.sibling, u = u.sibling = zl(l, l.pendingProps), u.return = a;
      u.sibling = null;
    }
    return a.child;
  }
  function ni(l, a) {
    return (l.lanes & a) !== 0 ? !0 : (l = l.dependencies, !!(l !== null && so(l)));
  }
  function id(l, a, u) {
    switch (a.tag) {
      case 3:
        Dt(a, a.stateNode.containerInfo), cl(a, Yt, l.memoizedState.cache), il();
        break;
      case 27:
      case 5:
        ae(a);
        break;
      case 4:
        Dt(a, a.stateNode.containerInfo);
        break;
      case 10:
        cl(
          a,
          a.type,
          a.memoizedProps.value
        );
        break;
      case 13:
        var c = a.memoizedState;
        if (c !== null)
          return c.dehydrated !== null ? (su(a), a.flags |= 128, null) : (u & a.child.childLanes) !== 0 ? nd(l, a, u) : (su(a), l = hu(
            l,
            a,
            u
          ), l !== null ? l.sibling : null);
        su(a);
        break;
      case 19:
        var s = (l.flags & 128) !== 0;
        if (c = (u & a.childLanes) !== 0, c || (uu(
          l,
          a,
          u,
          !1
        ), c = (u & a.childLanes) !== 0), s) {
          if (c)
            return Ly(
              l,
              a,
              u
            );
          a.flags |= 128;
        }
        if (s = a.memoizedState, s !== null && (s.rendering = null, s.tail = null, s.lastEffect = null), pe(jt, jt.current), c) break;
        return null;
      case 22:
      case 23:
        return a.lanes = 0, wy(l, a, u);
      case 24:
        cl(a, Yt, l.memoizedState.cache);
    }
    return hu(l, a, u);
  }
  function jy(l, a, u) {
    if (l !== null)
      if (l.memoizedProps !== a.pendingProps)
        Pt = !0;
      else {
        if (!ni(l, u) && (a.flags & 128) === 0)
          return Pt = !1, id(
            l,
            a,
            u
          );
        Pt = (l.flags & 131072) !== 0;
      }
    else
      Pt = !1, ke && (a.flags & 1048576) !== 0 && Qe(a, fo, a.index);
    switch (a.lanes = 0, a.tag) {
      case 16:
        e: {
          l = a.pendingProps;
          var c = a.elementType, s = c._init;
          if (c = s(c._payload), a.type = c, typeof c == "function")
            vn(c) ? (l = Da(c, l), a.tag = 1, a = rc(
              null,
              a,
              c,
              l,
              u
            )) : (a.tag = 0, a = ai(
              null,
              a,
              c,
              l,
              u
            ));
          else {
            if (c != null) {
              if (s = c.$$typeof, s === Rt) {
                a.tag = 11, a = Qy(
                  null,
                  a,
                  c,
                  l,
                  u
                );
                break e;
              } else if (s === $) {
                a.tag = 14, a = wt(
                  null,
                  a,
                  c,
                  l,
                  u
                );
                break e;
              }
            }
            throw a = Yl(c) || c, Error(v(306, a, ""));
          }
        }
        return a;
      case 0:
        return ai(
          l,
          a,
          a.type,
          a.pendingProps,
          u
        );
      case 1:
        return c = a.type, s = Da(
          c,
          a.pendingProps
        ), rc(
          l,
          a,
          c,
          s,
          u
        );
      case 3:
        e: {
          if (Dt(
            a,
            a.stateNode.containerInfo
          ), l === null) throw Error(v(387));
          c = a.pendingProps;
          var r = a.memoizedState;
          s = r.element, zr(l, a), Wa(a, c, null, u);
          var y = a.memoizedState;
          if (c = y.cache, cl(a, Yt, c), c !== r.cache && Bf(
            a,
            [Yt],
            u,
            !0
          ), Ao(), c = y.element, r.isDehydrated)
            if (r = {
              element: c,
              isDehydrated: !1,
              cache: y.cache
            }, a.updateQueue.baseState = r, a.memoizedState = r, a.flags & 256) {
              a = qy(
                l,
                a,
                c,
                u
              );
              break e;
            } else if (c !== s) {
              s = ya(
                Error(v(424)),
                a
              ), ec(s), a = qy(
                l,
                a,
                c,
                u
              );
              break e;
            } else {
              switch (l = a.stateNode.containerInfo, l.nodeType) {
                case 9:
                  l = l.body;
                  break;
                default:
                  l = l.nodeName === "HTML" ? l.ownerDocument.body : l;
              }
              for (De = Ba(l.firstChild), ul = a, ke = !0, nu = null, ka = !0, u = Or(
                a,
                null,
                c,
                u
              ), a.child = u; u; )
                u.flags = u.flags & -3 | 4096, u = u.sibling;
            }
          else {
            if (il(), c === s) {
              a = hu(
                l,
                a,
                u
              );
              break e;
            }
            at(
              l,
              a,
              c,
              u
            );
          }
          a = a.child;
        }
        return a;
      case 26:
        return en(l, a), l === null ? (u = bl(
          a.type,
          null,
          a.pendingProps,
          null
        )) ? a.memoizedState = u : ke || (u = a.type, l = a.pendingProps, c = Xe(
          sa.current
        ).createElement(u), c[Kt] = a, c[xt] = l, sl(c, u, l), Wt(c), a.stateNode = c) : a.memoizedState = bl(
          a.type,
          l.memoizedProps,
          a.pendingProps,
          l.memoizedState
        ), null;
      case 27:
        return ae(a), l === null && ke && (c = a.stateNode = ua(
          a.type,
          a.pendingProps,
          sa.current
        ), ul = a, ka = !0, s = De, vu(a.type) ? (Es = s, De = Ba(
          c.firstChild
        )) : De = s), at(
          l,
          a,
          a.pendingProps.children,
          u
        ), en(l, a), l === null && (a.flags |= 4194304), a.child;
      case 5:
        return l === null && ke && ((s = c = De) && (c = bg(
          c,
          a.type,
          a.pendingProps,
          ka
        ), c !== null ? (a.stateNode = c, ul = a, De = Ba(
          c.firstChild
        ), ka = !1, s = !0) : s = !1), s || Pi(a)), ae(a), s = a.type, r = a.pendingProps, y = l !== null ? l.memoizedProps : null, c = r.children, As(s, r) ? c = null : y !== null && As(s, y) && (a.flags |= 32), a.memoizedState !== null && (s = Nr(
          l,
          a,
          my,
          null,
          null,
          u
        ), Dc._currentValue = s), en(l, a), at(l, a, c, u), a.child;
      case 6:
        return l === null && ke && ((l = u = De) && (u = Eg(
          u,
          a.pendingProps,
          ka
        ), u !== null ? (a.stateNode = u, ul = a, De = null, l = !0) : l = !1), l || Pi(a)), null;
      case 13:
        return nd(l, a, u);
      case 4:
        return Dt(
          a,
          a.stateNode.containerInfo
        ), c = a.pendingProps, l === null ? a.child = oc(
          a,
          null,
          c,
          u
        ) : at(
          l,
          a,
          c,
          u
        ), a.child;
      case 11:
        return Qy(
          l,
          a,
          a.type,
          a.pendingProps,
          u
        );
      case 7:
        return at(
          l,
          a,
          a.pendingProps,
          u
        ), a.child;
      case 8:
        return at(
          l,
          a,
          a.pendingProps.children,
          u
        ), a.child;
      case 12:
        return at(
          l,
          a,
          a.pendingProps.children,
          u
        ), a.child;
      case 10:
        return c = a.pendingProps, cl(a, a.type, c.value), at(
          l,
          a,
          c.children,
          u
        ), a.child;
      case 9:
        return s = a.type._context, c = a.pendingProps.children, Sn(a), s = vl(s), c = c(s), a.flags |= 1, at(l, a, c, u), a.child;
      case 14:
        return wt(
          l,
          a,
          a.type,
          a.pendingProps,
          u
        );
      case 15:
        return Ny(
          l,
          a,
          a.type,
          a.pendingProps,
          u
        );
      case 19:
        return Ly(l, a, u);
      case 31:
        return c = a.pendingProps, u = a.mode, c = {
          mode: c.mode,
          children: c.children
        }, l === null ? (u = es(
          c,
          u
        ), u.ref = a.ref, a.child = u, u.return = a, a = u) : (u = zl(l.child, c), u.ref = a.ref, a.child = u, u.return = a, a = u), a;
      case 22:
        return wy(l, a, u);
      case 24:
        return Sn(a), c = vl(Yt), l === null ? (s = _u(), s === null && (s = rt, r = Hf(), s.pooledCache = r, r.refCount++, r !== null && (s.pooledCacheLanes |= u), s = r), a.memoizedState = {
          parent: c,
          cache: s
        }, po(a), cl(a, Yt, s)) : ((l.lanes & u) !== 0 && (zr(l, a), Wa(a, null, null, u), Ao()), s = l.memoizedState, r = a.memoizedState, s.parent !== c ? (s = { parent: c, cache: c }, a.memoizedState = s, a.lanes === 0 && (a.memoizedState = a.updateQueue.baseState = s), cl(a, Yt, c)) : (c = r.cache, cl(a, Yt, c), c !== s.cache && Bf(
          a,
          [Yt],
          u,
          !0
        ))), at(
          l,
          a,
          a.pendingProps.children,
          u
        ), a.child;
      case 29:
        throw a.pendingProps;
    }
    throw Error(v(156, a.tag));
  }
  function tn(l) {
    l.flags |= 4;
  }
  function cd(l, a, u, c, s) {
    if ((a = (l.mode & 32) !== 0) && (a = !1), a) {
      if (l.flags |= 16777216, (s & 335544128) === s)
        if (l.stateNode.complete) l.flags |= 8192;
        else if (am()) l.flags |= 8192;
        else
          throw $u = go, mo;
    } else l.flags &= -16777217;
  }
  function Vy(l, a) {
    if (a.type !== "stylesheet" || (a.state.loading & 4) !== 0)
      l.flags &= -16777217;
    else if (l.flags |= 16777216, !Nl(a))
      if (am()) l.flags |= 8192;
      else
        throw $u = go, mo;
  }
  function ts(l, a) {
    a !== null && (l.flags |= 4), l.flags & 16384 && (a = l.tag !== 22 ? Ri() : 536870912, l.lanes |= a, gc |= a);
  }
  function ls(l, a) {
    if (!ke)
      switch (l.tailMode) {
        case "hidden":
          a = l.tail;
          for (var u = null; a !== null; )
            a.alternate !== null && (u = a), a = a.sibling;
          u === null ? l.tail = null : u.sibling = null;
          break;
        case "collapsed":
          u = l.tail;
          for (var c = null; u !== null; )
            u.alternate !== null && (c = u), u = u.sibling;
          c === null ? a || l.tail === null ? l.tail = null : l.tail.sibling = null : c.sibling = null;
      }
  }
  function Ot(l) {
    var a = l.alternate !== null && l.alternate.child === l.child, u = 0, c = 0;
    if (a)
      for (var s = l.child; s !== null; )
        u |= s.lanes | s.childLanes, c |= s.subtreeFlags & 65011712, c |= s.flags & 65011712, s.return = l, s = s.sibling;
    else
      for (s = l.child; s !== null; )
        u |= s.lanes | s.childLanes, c |= s.subtreeFlags, c |= s.flags, s.return = l, s = s.sibling;
    return l.subtreeFlags |= c, l.childLanes = u, a;
  }
  function as(l, a, u) {
    var c = a.pendingProps;
    switch (Wu(a), a.tag) {
      case 31:
      case 16:
      case 15:
      case 0:
      case 11:
      case 7:
      case 8:
      case 12:
      case 9:
      case 14:
        return Ot(a), null;
      case 1:
        return Ot(a), null;
      case 3:
        return u = a.stateNode, c = null, l !== null && (c = l.memoizedState.cache), a.memoizedState.cache !== c && (a.flags |= 2048), Ka(Yt), ra(), u.pendingContext && (u.context = u.pendingContext, u.pendingContext = null), (l === null || l.child === null) && ($i(a) ? tn(a) : l === null || l.memoizedState.isDehydrated && (a.flags & 256) === 0 || (a.flags |= 1024, $e())), Ot(a), null;
      case 26:
        var s = a.type, r = a.memoizedState;
        return l === null ? (tn(a), r !== null ? (Ot(a), Vy(a, r)) : (Ot(a), cd(
          a,
          s,
          null,
          c,
          u
        ))) : r ? r !== l.memoizedState ? (tn(a), Ot(a), Vy(a, r)) : (Ot(a), a.flags &= -16777217) : (l = l.memoizedProps, l !== c && tn(a), Ot(a), cd(
          a,
          s,
          l,
          c,
          u
        )), null;
      case 27:
        if (Uu(a), u = sa.current, s = a.type, l !== null && a.stateNode != null)
          l.memoizedProps !== c && tn(a);
        else {
          if (!c) {
            if (a.stateNode === null)
              throw Error(v(166));
            return Ot(a), null;
          }
          l = Le.current, $i(a) ? Er(a) : (l = ua(s, c, u), a.stateNode = l, tn(a));
        }
        return Ot(a), null;
      case 5:
        if (Uu(a), s = a.type, l !== null && a.stateNode != null)
          l.memoizedProps !== c && tn(a);
        else {
          if (!c) {
            if (a.stateNode === null)
              throw Error(v(166));
            return Ot(a), null;
          }
          if (r = Le.current, $i(a))
            Er(a);
          else {
            var y = Xe(
              sa.current
            );
            switch (r) {
              case 1:
                r = y.createElementNS(
                  "http://www.w3.org/2000/svg",
                  s
                );
                break;
              case 2:
                r = y.createElementNS(
                  "http://www.w3.org/1998/Math/MathML",
                  s
                );
                break;
              default:
                switch (s) {
                  case "svg":
                    r = y.createElementNS(
                      "http://www.w3.org/2000/svg",
                      s
                    );
                    break;
                  case "math":
                    r = y.createElementNS(
                      "http://www.w3.org/1998/Math/MathML",
                      s
                    );
                    break;
                  case "script":
                    r = y.createElement("div"), r.innerHTML = "<script><\/script>", r = r.removeChild(
                      r.firstChild
                    );
                    break;
                  case "select":
                    r = typeof c.is == "string" ? y.createElement("select", {
                      is: c.is
                    }) : y.createElement("select"), c.multiple ? r.multiple = !0 : c.size && (r.size = c.size);
                    break;
                  default:
                    r = typeof c.is == "string" ? y.createElement(s, { is: c.is }) : y.createElement(s);
                }
            }
            r[Kt] = a, r[xt] = c;
            e: for (y = a.child; y !== null; ) {
              if (y.tag === 5 || y.tag === 6)
                r.appendChild(y.stateNode);
              else if (y.tag !== 4 && y.tag !== 27 && y.child !== null) {
                y.child.return = y, y = y.child;
                continue;
              }
              if (y === a) break e;
              for (; y.sibling === null; ) {
                if (y.return === null || y.return === a)
                  break e;
                y = y.return;
              }
              y.sibling.return = y.return, y = y.sibling;
            }
            a.stateNode = r;
            e: switch (sl(r, s, c), s) {
              case "button":
              case "input":
              case "select":
              case "textarea":
                c = !!c.autoFocus;
                break e;
              case "img":
                c = !0;
                break e;
              default:
                c = !1;
            }
            c && tn(a);
          }
        }
        return Ot(a), cd(
          a,
          a.type,
          l === null ? null : l.memoizedProps,
          a.pendingProps,
          u
        ), null;
      case 6:
        if (l && a.stateNode != null)
          l.memoizedProps !== c && tn(a);
        else {
          if (typeof c != "string" && a.stateNode === null)
            throw Error(v(166));
          if (l = sa.current, $i(a)) {
            if (l = a.stateNode, u = a.memoizedProps, c = null, s = ul, s !== null)
              switch (s.tag) {
                case 27:
                case 5:
                  c = s.memoizedProps;
              }
            l[Kt] = a, l = !!(l.nodeValue === u || c !== null && c.suppressHydrationWarning === !0 || vs(l.nodeValue, u)), l || Pi(a, !0);
          } else
            l = Xe(l).createTextNode(
              c
            ), l[Kt] = a, a.stateNode = l;
        }
        return Ot(a), null;
      case 13:
        if (c = a.memoizedState, l === null || l.memoizedState !== null && l.memoizedState.dehydrated !== null) {
          if (s = $i(a), c !== null && c.dehydrated !== null) {
            if (l === null) {
              if (!s) throw Error(v(318));
              if (s = a.memoizedState, s = s !== null ? s.dehydrated : null, !s) throw Error(v(317));
              s[Kt] = a;
            } else
              il(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
            Ot(a), s = !1;
          } else
            s = $e(), l !== null && l.memoizedState !== null && (l.memoizedState.hydrationErrors = s), s = !0;
          if (!s)
            return a.flags & 256 ? (Tn(a), a) : (Tn(a), null);
        }
        return Tn(a), (a.flags & 128) !== 0 ? (a.lanes = u, a) : (u = c !== null, l = l !== null && l.memoizedState !== null, u && (c = a.child, s = null, c.alternate !== null && c.alternate.memoizedState !== null && c.alternate.memoizedState.cachePool !== null && (s = c.alternate.memoizedState.cachePool.pool), r = null, c.memoizedState !== null && c.memoizedState.cachePool !== null && (r = c.memoizedState.cachePool.pool), r !== s && (c.flags |= 2048)), u !== l && u && (a.child.flags |= 8192), ts(a, a.updateQueue), Ot(a), null);
      case 4:
        return ra(), l === null && ri(a.stateNode.containerInfo), Ot(a), null;
      case 10:
        return Ka(a.type), Ot(a), null;
      case 19:
        if (ce(jt), s = a.memoizedState, s === null) return Ot(a), null;
        if (c = (a.flags & 128) !== 0, r = s.rendering, r === null)
          if (c) ls(s, !1);
          else {
            if (zt !== 0 || l !== null && (l.flags & 128) !== 0)
              for (l = a.child; l !== null; ) {
                if (r = Cn(l), r !== null) {
                  for (a.flags |= 128, ls(s, !1), l = r.updateQueue, a.updateQueue = l, ts(a, l), a.subtreeFlags = 0, l = u, u = a.child; u !== null; )
                    co(u, l), u = u.sibling;
                  return pe(
                    jt,
                    jt.current & 1 | 2
                  ), a.child;
                }
                l = l.sibling;
              }
            s.tail !== null && Ya() > bd && (a.flags |= 128, c = !0, ls(s, !1), a.lanes = 4194304);
          }
        else {
          if (!c)
            if (l = Cn(r), l !== null) {
              if (a.flags |= 128, c = !0, l = l.updateQueue, a.updateQueue = l, ts(a, l), ls(s, !0), s.tail === null && s.tailMode === "hidden" && !r.alternate && !ke)
                return Ot(a), null;
            } else
              2 * Ya() - s.renderingStartTime > bd && u !== 536870912 && (a.flags |= 128, c = !0, ls(s, !1), a.lanes = 4194304);
          s.isBackwards ? (r.sibling = a.child, a.child = r) : (l = s.last, l !== null ? l.sibling = r : a.child = r, s.last = r);
        }
        return s.tail !== null ? (a = s.tail, s.rendering = a, s.tail = a.sibling, s.renderingStartTime = Ya(), a.sibling = null, l = jt.current, pe(jt, c ? l & 1 | 2 : l & 1), a) : (Ot(a), null);
      case 22:
      case 23:
        return Tn(a), qf(), c = a.memoizedState !== null, l !== null ? l.memoizedState !== null !== c && (a.flags |= 8192) : c && (a.flags |= 8192), c ? (u & 536870912) !== 0 && (a.flags & 128) === 0 && (Ot(a), a.subtreeFlags & 6 && (a.flags |= 8192)) : Ot(a), u = a.updateQueue, u !== null && ts(a, u.retryQueue), u = null, l !== null && l.memoizedState !== null && l.memoizedState.cachePool !== null && (u = l.memoizedState.cachePool.pool), c = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (c = a.memoizedState.cachePool.pool), c !== u && (a.flags |= 2048), l !== null && ce(Fu), null;
      case 24:
        return u = null, l !== null && (u = l.memoizedState.cache), a.memoizedState.cache !== u && (a.flags |= 2048), Ka(Yt), Ot(a), null;
      case 25:
        return null;
      case 30:
        return null;
    }
    throw Error(v(156, a.tag));
  }
  function eg(l, a) {
    switch (Wu(a), a.tag) {
      case 1:
        return l = a.flags, l & 65536 ? (a.flags = l & -65537 | 128, a) : null;
      case 3:
        return Ka(Yt), ra(), l = a.flags, (l & 65536) !== 0 && (l & 128) === 0 ? (a.flags = l & -65537 | 128, a) : null;
      case 26:
      case 27:
      case 5:
        return Uu(a), null;
      case 13:
        if (Tn(a), l = a.memoizedState, l !== null && l.dehydrated !== null) {
          if (a.alternate === null)
            throw Error(v(340));
          il();
        }
        return l = a.flags, l & 65536 ? (a.flags = l & -65537 | 128, a) : null;
      case 19:
        return ce(jt), null;
      case 4:
        return ra(), null;
      case 10:
        return Ka(a.type), null;
      case 22:
      case 23:
        return Tn(a), qf(), l !== null && ce(Fu), l = a.flags, l & 65536 ? (a.flags = l & -65537 | 128, a) : null;
      case 24:
        return Ka(Yt), null;
      case 25:
        return null;
      default:
        return null;
    }
  }
  function Gy(l, a) {
    switch (Wu(a), a.tag) {
      case 3:
        Ka(Yt), ra();
        break;
      case 26:
      case 27:
      case 5:
        Uu(a);
        break;
      case 4:
        ra();
        break;
      case 13:
        Tn(a);
        break;
      case 19:
        ce(jt);
        break;
      case 10:
        Ka(a.type);
        break;
      case 22:
      case 23:
        Tn(a), qf(), l !== null && ce(Fu);
        break;
      case 24:
        Ka(Yt);
    }
  }
  function Fe(l, a) {
    try {
      var u = a.updateQueue, c = u !== null ? u.lastEffect : null;
      if (c !== null) {
        var s = c.next;
        u = s;
        do {
          if ((u.tag & l) === l) {
            c = void 0;
            var r = u.create, y = u.inst;
            c = r(), y.destroy = c;
          }
          u = u.next;
        } while (u !== s);
      }
    } catch (g) {
      dt(a, a.return, g);
    }
  }
  function Mn(l, a, u) {
    try {
      var c = a.updateQueue, s = c !== null ? c.lastEffect : null;
      if (s !== null) {
        var r = s.next;
        c = r;
        do {
          if ((c.tag & l) === l) {
            var y = c.inst, g = y.destroy;
            if (g !== void 0) {
              y.destroy = void 0, s = a;
              var A = u, z = g;
              try {
                z();
              } catch (j) {
                dt(
                  s,
                  A,
                  j
                );
              }
            }
          }
          c = c.next;
        } while (c !== r);
      }
    } catch (j) {
      dt(a, a.return, j);
    }
  }
  function tg(l) {
    var a = l.updateQueue;
    if (a !== null) {
      var u = l.stateNode;
      try {
        Br(a, u);
      } catch (c) {
        dt(l, l.return, c);
      }
    }
  }
  function Zy(l, a, u) {
    u.props = Da(
      l.type,
      l.memoizedProps
    ), u.state = l.memoizedState;
    try {
      u.componentWillUnmount();
    } catch (c) {
      dt(l, a, c);
    }
  }
  function ns(l, a) {
    try {
      var u = l.ref;
      if (u !== null) {
        switch (l.tag) {
          case 26:
          case 27:
          case 5:
            var c = l.stateNode;
            break;
          case 30:
            c = l.stateNode;
            break;
          default:
            c = l.stateNode;
        }
        typeof u == "function" ? l.refCleanup = u(c) : u.current = c;
      }
    } catch (s) {
      dt(l, a, s);
    }
  }
  function Bn(l, a) {
    var u = l.ref, c = l.refCleanup;
    if (u !== null)
      if (typeof c == "function")
        try {
          c();
        } catch (s) {
          dt(l, a, s);
        } finally {
          l.refCleanup = null, l = l.alternate, l != null && (l.refCleanup = null);
        }
      else if (typeof u == "function")
        try {
          u(null);
        } catch (s) {
          dt(l, a, s);
        }
      else u.current = null;
  }
  function od(l) {
    var a = l.type, u = l.memoizedProps, c = l.stateNode;
    try {
      e: switch (a) {
        case "button":
        case "input":
        case "select":
        case "textarea":
          u.autoFocus && c.focus();
          break e;
        case "img":
          u.src ? c.src = u.src : u.srcSet && (c.srcset = u.srcSet);
      }
    } catch (s) {
      dt(l, l.return, s);
    }
  }
  function fd(l, a, u) {
    try {
      var c = l.stateNode;
      wp(c, l.type, u, a), c[xt] = a;
    } catch (s) {
      dt(l, l.return, s);
    }
  }
  function Xy(l) {
    return l.tag === 5 || l.tag === 3 || l.tag === 26 || l.tag === 27 && vu(l.type) || l.tag === 4;
  }
  function sd(l) {
    e: for (; ; ) {
      for (; l.sibling === null; ) {
        if (l.return === null || Xy(l.return)) return null;
        l = l.return;
      }
      for (l.sibling.return = l.return, l = l.sibling; l.tag !== 5 && l.tag !== 6 && l.tag !== 18; ) {
        if (l.tag === 27 && vu(l.type) || l.flags & 2 || l.child === null || l.tag === 4) continue e;
        l.child.return = l, l = l.child;
      }
      if (!(l.flags & 2)) return l.stateNode;
    }
  }
  function dc(l, a, u) {
    var c = l.tag;
    if (c === 5 || c === 6)
      l = l.stateNode, a ? (u.nodeType === 9 ? u.body : u.nodeName === "HTML" ? u.ownerDocument.body : u).insertBefore(l, a) : (a = u.nodeType === 9 ? u.body : u.nodeName === "HTML" ? u.ownerDocument.body : u, a.appendChild(l), u = u._reactRootContainer, u != null || a.onclick !== null || (a.onclick = Hl));
    else if (c !== 4 && (c === 27 && vu(l.type) && (u = l.stateNode, a = null), l = l.child, l !== null))
      for (dc(l, a, u), l = l.sibling; l !== null; )
        dc(l, a, u), l = l.sibling;
  }
  function rd(l, a, u) {
    var c = l.tag;
    if (c === 5 || c === 6)
      l = l.stateNode, a ? u.insertBefore(l, a) : u.appendChild(l);
    else if (c !== 4 && (c === 27 && vu(l.type) && (u = l.stateNode), l = l.child, l !== null))
      for (rd(l, a, u), l = l.sibling; l !== null; )
        rd(l, a, u), l = l.sibling;
  }
  function lg(l) {
    var a = l.stateNode, u = l.memoizedProps;
    try {
      for (var c = l.type, s = a.attributes; s.length; )
        a.removeAttributeNode(s[0]);
      sl(a, c, u), a[Kt] = l, a[xt] = u;
    } catch (r) {
      dt(l, l.return, r);
    }
  }
  var ol = !1, St = !1, Jy = !1, dd = typeof WeakSet == "function" ? WeakSet : Set, $t = null;
  function ag(l, a) {
    if (l = l.containerInfo, tl = Os, l = ey(l), Tf(l)) {
      if ("selectionStart" in l)
        var u = {
          start: l.selectionStart,
          end: l.selectionEnd
        };
      else
        e: {
          u = (u = l.ownerDocument) && u.defaultView || window;
          var c = u.getSelection && u.getSelection();
          if (c && c.rangeCount !== 0) {
            u = c.anchorNode;
            var s = c.anchorOffset, r = c.focusNode;
            c = c.focusOffset;
            try {
              u.nodeType, r.nodeType;
            } catch {
              u = null;
              break e;
            }
            var y = 0, g = -1, A = -1, z = 0, j = 0, X = l, M = null;
            t: for (; ; ) {
              for (var x; X !== u || s !== 0 && X.nodeType !== 3 || (g = y + s), X !== r || c !== 0 && X.nodeType !== 3 || (A = y + c), X.nodeType === 3 && (y += X.nodeValue.length), (x = X.firstChild) !== null; )
                M = X, X = x;
              for (; ; ) {
                if (X === l) break t;
                if (M === u && ++z === s && (g = y), M === r && ++j === c && (A = y), (x = X.nextSibling) !== null) break;
                X = M, M = X.parentNode;
              }
              X = x;
            }
            u = g === -1 || A === -1 ? null : { start: g, end: A };
          } else u = null;
        }
      u = u || { start: 0, end: 0 };
    } else u = null;
    for (N = { focusedElem: l, selectionRange: u }, Os = !1, $t = a; $t !== null; )
      if (a = $t, l = a.child, (a.subtreeFlags & 1024) !== 0 && l !== null)
        l.return = a, $t = l;
      else
        for (; $t !== null; ) {
          switch (a = $t, r = a.alternate, l = a.flags, a.tag) {
            case 0:
              break;
            case 11:
            case 15:
              break;
            case 1:
              if ((l & 1024) !== 0 && r !== null) {
                l = void 0, u = a, s = r.memoizedProps, r = r.memoizedState, c = u.stateNode;
                try {
                  var me = Da(
                    u.type,
                    s,
                    u.elementType === u.type
                  );
                  l = c.getSnapshotBeforeUpdate(
                    me,
                    r
                  ), c.__reactInternalSnapshotBeforeUpdate = l;
                } catch (se) {
                  dt(
                    u,
                    u.return,
                    se
                  );
                }
              }
              break;
            case 3:
              if ((l & 1024) !== 0) {
                if (l = a.stateNode.containerInfo, u = l.nodeType, u === 9)
                  Qd(l);
                else if (u === 1)
                  switch (l.nodeName) {
                    case "HEAD":
                    case "HTML":
                    case "BODY":
                      Qd(l);
                      break;
                    default:
                      l.textContent = "";
                  }
              }
              break;
            case 5:
            case 26:
            case 27:
            case 6:
            case 4:
            case 17:
              break;
            default:
              if ((l & 1024) !== 0) throw Error(v(163));
          }
          if (l = a.sibling, l !== null) {
            l.return = a.return, $t = l;
            break;
          }
          $t = a.return;
        }
  }
  function ky(l, a, u) {
    var c = u.flags;
    switch (u.tag) {
      case 0:
      case 11:
      case 15:
        Oa(l, u), c & 4 && Fe(5, u);
        break;
      case 1:
        if (Oa(l, u), c & 4)
          if (l = u.stateNode, a === null)
            try {
              l.componentDidMount();
            } catch (y) {
              dt(u, u.return, y);
            }
          else {
            var s = Da(
              u.type,
              a.memoizedProps
            );
            a = a.memoizedState;
            try {
              l.componentDidUpdate(
                s,
                a,
                l.__reactInternalSnapshotBeforeUpdate
              );
            } catch (y) {
              dt(
                u,
                u.return,
                y
              );
            }
          }
        c & 64 && tg(u), c & 512 && ns(u, u.return);
        break;
      case 3:
        if (Oa(l, u), c & 64 && (l = u.updateQueue, l !== null)) {
          if (a = null, u.child !== null)
            switch (u.child.tag) {
              case 27:
              case 5:
                a = u.child.stateNode;
                break;
              case 1:
                a = u.child.stateNode;
            }
          try {
            Br(l, a);
          } catch (y) {
            dt(u, u.return, y);
          }
        }
        break;
      case 27:
        a === null && c & 4 && lg(u);
      case 26:
      case 5:
        Oa(l, u), a === null && c & 4 && od(u), c & 512 && ns(u, u.return);
        break;
      case 12:
        Oa(l, u);
        break;
      case 13:
        Oa(l, u), c & 4 && ng(l, u), c & 64 && (l = u.memoizedState, l !== null && (l = l.dehydrated, l !== null && (u = sm.bind(
          null,
          u
        ), bm(l, u))));
        break;
      case 22:
        if (c = u.memoizedState !== null || ol, !c) {
          a = a !== null && a.memoizedState !== null || St, s = ol;
          var r = St;
          ol = c, (St = a) && !r ? pa(
            l,
            u,
            (u.subtreeFlags & 8772) !== 0
          ) : Oa(l, u), ol = s, St = r;
        }
        break;
      case 30:
        break;
      default:
        Oa(l, u);
    }
  }
  function hd(l) {
    var a = l.alternate;
    a !== null && (l.alternate = null, hd(a)), l.child = null, l.deletions = null, l.sibling = null, l.tag === 5 && (a = l.stateNode, a !== null && Il(a)), l.stateNode = null, l.return = null, l.dependencies = null, l.memoizedProps = null, l.memoizedState = null, l.pendingProps = null, l.stateNode = null, l.updateQueue = null;
  }
  var bt = null, xl = !1;
  function xn(l, a, u) {
    for (u = u.child; u !== null; )
      Ky(l, a, u), u = u.sibling;
  }
  function Ky(l, a, u) {
    if (Wl && typeof Wl.onCommitFiberUnmount == "function")
      try {
        Wl.onCommitFiberUnmount(Wc, u);
      } catch {
      }
    switch (u.tag) {
      case 26:
        St || Bn(u, a), xn(
          l,
          a,
          u
        ), u.memoizedState ? u.memoizedState.count-- : u.stateNode && (u = u.stateNode, u.parentNode.removeChild(u));
        break;
      case 27:
        St || Bn(u, a);
        var c = bt, s = xl;
        vu(u.type) && (bt = u.stateNode, xl = !1), xn(
          l,
          a,
          u
        ), ia(u.stateNode), bt = c, xl = s;
        break;
      case 5:
        St || Bn(u, a);
      case 6:
        if (c = bt, s = xl, bt = null, xn(
          l,
          a,
          u
        ), bt = c, xl = s, bt !== null)
          if (xl)
            try {
              (bt.nodeType === 9 ? bt.body : bt.nodeName === "HTML" ? bt.ownerDocument.body : bt).removeChild(u.stateNode);
            } catch (r) {
              dt(
                u,
                a,
                r
              );
            }
          else
            try {
              bt.removeChild(u.stateNode);
            } catch (r) {
              dt(
                u,
                a,
                r
              );
            }
        break;
      case 18:
        bt !== null && (xl ? (l = bt, Sm(
          l.nodeType === 9 ? l.body : l.nodeName === "HTML" ? l.ownerDocument.body : l,
          u.stateNode
        ), qn(l)) : Sm(bt, u.stateNode));
        break;
      case 4:
        c = bt, s = xl, bt = u.stateNode.containerInfo, xl = !0, xn(
          l,
          a,
          u
        ), bt = c, xl = s;
        break;
      case 0:
      case 11:
      case 14:
      case 15:
        St || Mn(2, u, a), St || Mn(4, u, a), xn(
          l,
          a,
          u
        );
        break;
      case 1:
        St || (Bn(u, a), c = u.stateNode, typeof c.componentWillUnmount == "function" && Zy(
          u,
          a,
          c
        )), xn(
          l,
          a,
          u
        );
        break;
      case 21:
        xn(
          l,
          a,
          u
        );
        break;
      case 22:
        St = (c = St) || u.memoizedState !== null, xn(
          l,
          a,
          u
        ), St = c;
        break;
      default:
        xn(
          l,
          a,
          u
        );
    }
  }
  function ng(l, a) {
    if (a.memoizedState === null && (l = a.alternate, l !== null && (l = l.memoizedState, l !== null && (l = l.dehydrated, l !== null))))
      try {
        qn(l);
      } catch (u) {
        dt(a, a.return, u);
      }
  }
  function yd(l) {
    switch (l.tag) {
      case 13:
      case 19:
        var a = l.stateNode;
        return a === null && (a = l.stateNode = new dd()), a;
      case 22:
        return l = l.stateNode, a = l._retryCache, a === null && (a = l._retryCache = new dd()), a;
      default:
        throw Error(v(435, l.tag));
    }
  }
  function md(l, a) {
    var u = yd(l);
    a.forEach(function(c) {
      var s = dg.bind(null, l, c);
      u.has(c) || (u.add(c), c.then(s, s));
    });
  }
  function Se(l, a) {
    var u = a.deletions;
    if (u !== null)
      for (var c = 0; c < u.length; c++) {
        var s = u[c], r = l, y = a, g = y;
        e: for (; g !== null; ) {
          switch (g.tag) {
            case 27:
              if (vu(g.type)) {
                bt = g.stateNode, xl = !1;
                break e;
              }
              break;
            case 5:
              bt = g.stateNode, xl = !1;
              break e;
            case 3:
            case 4:
              bt = g.stateNode.containerInfo, xl = !0;
              break e;
          }
          g = g.return;
        }
        if (bt === null) throw Error(v(160));
        Ky(r, y, s), bt = null, xl = !1, r = s.alternate, r !== null && (r.return = null), s.return = null;
      }
    if (a.subtreeFlags & 13878)
      for (a = a.child; a !== null; )
        gd(a, l), a = a.sibling;
  }
  var ga = null;
  function gd(l, a) {
    var u = l.alternate, c = l.flags;
    switch (l.tag) {
      case 0:
      case 11:
      case 14:
      case 15:
        Se(a, l), ea(l), c & 4 && (Mn(3, l, l.return), Fe(3, l), Mn(5, l, l.return));
        break;
      case 1:
        Se(a, l), ea(l), c & 512 && (St || u === null || Bn(u, u.return)), c & 64 && ol && (l = l.updateQueue, l !== null && (c = l.callbacks, c !== null && (u = l.shared.hiddenCallbacks, l.shared.hiddenCallbacks = u === null ? c : u.concat(c))));
        break;
      case 26:
        var s = ga;
        if (Se(a, l), ea(l), c & 512 && (St || u === null || Bn(u, u.return)), c & 4) {
          var r = u !== null ? u.memoizedState : null;
          if (c = l.memoizedState, u === null)
            if (c === null)
              if (l.stateNode === null) {
                e: {
                  c = l.type, u = l.memoizedProps, s = s.ownerDocument || s;
                  t: switch (c) {
                    case "title":
                      r = s.getElementsByTagName("title")[0], (!r || r[Qu] || r[Kt] || r.namespaceURI === "http://www.w3.org/2000/svg" || r.hasAttribute("itemprop")) && (r = s.createElement(c), s.head.insertBefore(
                        r,
                        s.querySelector("head > title")
                      )), sl(r, c, u), r[Kt] = l, Wt(r), c = r;
                      break e;
                    case "link":
                      var y = Rs(
                        "link",
                        "href",
                        s
                      ).get(c + (u.href || ""));
                      if (y) {
                        for (var g = 0; g < y.length; g++)
                          if (r = y[g], r.getAttribute("href") === (u.href == null || u.href === "" ? null : u.href) && r.getAttribute("rel") === (u.rel == null ? null : u.rel) && r.getAttribute("title") === (u.title == null ? null : u.title) && r.getAttribute("crossorigin") === (u.crossOrigin == null ? null : u.crossOrigin)) {
                            y.splice(g, 1);
                            break t;
                          }
                      }
                      r = s.createElement(c), sl(r, c, u), s.head.appendChild(r);
                      break;
                    case "meta":
                      if (y = Rs(
                        "meta",
                        "content",
                        s
                      ).get(c + (u.content || ""))) {
                        for (g = 0; g < y.length; g++)
                          if (r = y[g], r.getAttribute("content") === (u.content == null ? null : "" + u.content) && r.getAttribute("name") === (u.name == null ? null : u.name) && r.getAttribute("property") === (u.property == null ? null : u.property) && r.getAttribute("http-equiv") === (u.httpEquiv == null ? null : u.httpEquiv) && r.getAttribute("charset") === (u.charSet == null ? null : u.charSet)) {
                            y.splice(g, 1);
                            break t;
                          }
                      }
                      r = s.createElement(c), sl(r, c, u), s.head.appendChild(r);
                      break;
                    default:
                      throw Error(v(468, c));
                  }
                  r[Kt] = l, Wt(r), c = r;
                }
                l.stateNode = c;
              } else
                Su(
                  s,
                  l.type,
                  l.stateNode
                );
            else
              l.stateNode = Cs(
                s,
                c,
                l.memoizedProps
              );
          else
            r !== c ? (r === null ? u.stateNode !== null && (u = u.stateNode, u.parentNode.removeChild(u)) : r.count--, c === null ? Su(
              s,
              l.type,
              l.stateNode
            ) : Cs(
              s,
              c,
              l.memoizedProps
            )) : c === null && l.stateNode !== null && fd(
              l,
              l.memoizedProps,
              u.memoizedProps
            );
        }
        break;
      case 27:
        Se(a, l), ea(l), c & 512 && (St || u === null || Bn(u, u.return)), u !== null && c & 4 && fd(
          l,
          l.memoizedProps,
          u.memoizedProps
        );
        break;
      case 5:
        if (Se(a, l), ea(l), c & 512 && (St || u === null || Bn(u, u.return)), l.flags & 32) {
          s = l.stateNode;
          try {
            to(s, "");
          } catch (x) {
            dt(l, l.return, x);
          }
        }
        c & 4 && l.stateNode != null && (s = l.memoizedProps, fd(
          l,
          s,
          u !== null ? u.memoizedProps : s
        )), c & 1024 && (Jy = !0);
        break;
      case 6:
        if (Se(a, l), ea(l), c & 4) {
          if (l.stateNode === null)
            throw Error(v(162));
          c = l.memoizedProps, u = l.stateNode;
          try {
            u.nodeValue = c;
          } catch (x) {
            dt(l, l.return, x);
          }
        }
        break;
      case 3:
        if (Qa = null, s = ga, ga = Yd(a.containerInfo), Se(a, l), ga = s, ea(l), c & 4 && u !== null && u.memoizedState.isDehydrated)
          try {
            qn(a.containerInfo);
          } catch (x) {
            dt(l, l.return, x);
          }
        Jy && (Jy = !1, pd(l));
        break;
      case 4:
        c = ga, ga = Yd(
          l.stateNode.containerInfo
        ), Se(a, l), ea(l), ga = c;
        break;
      case 12:
        Se(a, l), ea(l);
        break;
      case 13:
        Se(a, l), ea(l), l.child.flags & 8192 && l.memoizedState !== null != (u !== null && u.memoizedState !== null) && (_y = Ya()), c & 4 && (c = l.updateQueue, c !== null && (l.updateQueue = null, md(l, c)));
        break;
      case 22:
        s = l.memoizedState !== null;
        var A = u !== null && u.memoizedState !== null, z = ol, j = St;
        if (ol = z || s, St = j || A, Se(a, l), St = j, ol = z, ea(l), c & 8192)
          e: for (a = l.stateNode, a._visibility = s ? a._visibility & -2 : a._visibility | 1, s && (u === null || A || ol || St || Hn(l)), u = null, a = l; ; ) {
            if (a.tag === 5 || a.tag === 26) {
              if (u === null) {
                A = u = a;
                try {
                  if (r = A.stateNode, s)
                    y = r.style, typeof y.setProperty == "function" ? y.setProperty("display", "none", "important") : y.display = "none";
                  else {
                    g = A.stateNode;
                    var X = A.memoizedProps.style, M = X != null && X.hasOwnProperty("display") ? X.display : null;
                    g.style.display = M == null || typeof M == "boolean" ? "" : ("" + M).trim();
                  }
                } catch (x) {
                  dt(A, A.return, x);
                }
              }
            } else if (a.tag === 6) {
              if (u === null) {
                A = a;
                try {
                  A.stateNode.nodeValue = s ? "" : A.memoizedProps;
                } catch (x) {
                  dt(A, A.return, x);
                }
              }
            } else if ((a.tag !== 22 && a.tag !== 23 || a.memoizedState === null || a === l) && a.child !== null) {
              a.child.return = a, a = a.child;
              continue;
            }
            if (a === l) break e;
            for (; a.sibling === null; ) {
              if (a.return === null || a.return === l) break e;
              u === a && (u = null), a = a.return;
            }
            u === a && (u = null), a.sibling.return = a.return, a = a.sibling;
          }
        c & 4 && (c = l.updateQueue, c !== null && (u = c.retryQueue, u !== null && (c.retryQueue = null, md(l, u))));
        break;
      case 19:
        Se(a, l), ea(l), c & 4 && (c = l.updateQueue, c !== null && (l.updateQueue = null, md(l, c)));
        break;
      case 30:
        break;
      case 21:
        break;
      default:
        Se(a, l), ea(l);
    }
  }
  function ea(l) {
    var a = l.flags;
    if (a & 2) {
      try {
        for (var u, c = l.return; c !== null; ) {
          if (Xy(c)) {
            u = c;
            break;
          }
          c = c.return;
        }
        if (u == null) throw Error(v(160));
        switch (u.tag) {
          case 27:
            var s = u.stateNode, r = sd(l);
            rd(l, r, s);
            break;
          case 5:
            var y = u.stateNode;
            u.flags & 32 && (to(y, ""), u.flags &= -33);
            var g = sd(l);
            rd(l, g, y);
            break;
          case 3:
          case 4:
            var A = u.stateNode.containerInfo, z = sd(l);
            dc(
              l,
              z,
              A
            );
            break;
          default:
            throw Error(v(161));
        }
      } catch (j) {
        dt(l, l.return, j);
      }
      l.flags &= -3;
    }
    a & 4096 && (l.flags &= -4097);
  }
  function pd(l) {
    if (l.subtreeFlags & 1024)
      for (l = l.child; l !== null; ) {
        var a = l;
        pd(a), a.tag === 5 && a.flags & 1024 && a.stateNode.reset(), l = l.sibling;
      }
  }
  function Oa(l, a) {
    if (a.subtreeFlags & 8772)
      for (a = a.child; a !== null; )
        ky(l, a.alternate, a), a = a.sibling;
  }
  function Hn(l) {
    for (l = l.child; l !== null; ) {
      var a = l;
      switch (a.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          Mn(4, a, a.return), Hn(a);
          break;
        case 1:
          Bn(a, a.return);
          var u = a.stateNode;
          typeof u.componentWillUnmount == "function" && Zy(
            a,
            a.return,
            u
          ), Hn(a);
          break;
        case 27:
          ia(a.stateNode);
        case 26:
        case 5:
          Bn(a, a.return), Hn(a);
          break;
        case 22:
          a.memoizedState === null && Hn(a);
          break;
        case 30:
          Hn(a);
          break;
        default:
          Hn(a);
      }
      l = l.sibling;
    }
  }
  function pa(l, a, u) {
    for (u = u && (a.subtreeFlags & 8772) !== 0, a = a.child; a !== null; ) {
      var c = a.alternate, s = l, r = a, y = r.flags;
      switch (r.tag) {
        case 0:
        case 11:
        case 15:
          pa(
            s,
            r,
            u
          ), Fe(4, r);
          break;
        case 1:
          if (pa(
            s,
            r,
            u
          ), c = r, s = c.stateNode, typeof s.componentDidMount == "function")
            try {
              s.componentDidMount();
            } catch (z) {
              dt(c, c.return, z);
            }
          if (c = r, s = c.updateQueue, s !== null) {
            var g = c.stateNode;
            try {
              var A = s.shared.hiddenCallbacks;
              if (A !== null)
                for (s.shared.hiddenCallbacks = null, s = 0; s < A.length; s++)
                  Mr(A[s], g);
            } catch (z) {
              dt(c, c.return, z);
            }
          }
          u && y & 64 && tg(r), ns(r, r.return);
          break;
        case 27:
          lg(r);
        case 26:
        case 5:
          pa(
            s,
            r,
            u
          ), u && c === null && y & 4 && od(r), ns(r, r.return);
          break;
        case 12:
          pa(
            s,
            r,
            u
          );
          break;
        case 13:
          pa(
            s,
            r,
            u
          ), u && y & 4 && ng(s, r);
          break;
        case 22:
          r.memoizedState === null && pa(
            s,
            r,
            u
          ), ns(r, r.return);
          break;
        case 30:
          break;
        default:
          pa(
            s,
            r,
            u
          );
      }
      a = a.sibling;
    }
  }
  function vd(l, a) {
    var u = null;
    l !== null && l.memoizedState !== null && l.memoizedState.cachePool !== null && (u = l.memoizedState.cachePool.pool), l = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (l = a.memoizedState.cachePool.pool), l !== u && (l != null && l.refCount++, u != null && ro(u));
  }
  function us(l, a) {
    l = null, a.alternate !== null && (l = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== l && (a.refCount++, l != null && ro(l));
  }
  function st(l, a, u, c) {
    if (a.subtreeFlags & 10256)
      for (a = a.child; a !== null; )
        ug(
          l,
          a,
          u,
          c
        ), a = a.sibling;
  }
  function ug(l, a, u, c) {
    var s = a.flags;
    switch (a.tag) {
      case 0:
      case 11:
      case 15:
        st(
          l,
          a,
          u,
          c
        ), s & 2048 && Fe(9, a);
        break;
      case 1:
        st(
          l,
          a,
          u,
          c
        );
        break;
      case 3:
        st(
          l,
          a,
          u,
          c
        ), s & 2048 && (l = null, a.alternate !== null && (l = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== l && (a.refCount++, l != null && ro(l)));
        break;
      case 12:
        if (s & 2048) {
          st(
            l,
            a,
            u,
            c
          ), l = a.stateNode;
          try {
            var r = a.memoizedProps, y = r.id, g = r.onPostCommit;
            typeof g == "function" && g(
              y,
              a.alternate === null ? "mount" : "update",
              l.passiveEffectDuration,
              -0
            );
          } catch (A) {
            dt(a, a.return, A);
          }
        } else
          st(
            l,
            a,
            u,
            c
          );
        break;
      case 13:
        st(
          l,
          a,
          u,
          c
        );
        break;
      case 23:
        break;
      case 22:
        r = a.stateNode, y = a.alternate, a.memoizedState !== null ? r._visibility & 2 ? st(
          l,
          a,
          u,
          c
        ) : Bo(l, a) : r._visibility & 2 ? st(
          l,
          a,
          u,
          c
        ) : (r._visibility |= 2, Zl(
          l,
          a,
          u,
          c,
          (a.subtreeFlags & 10256) !== 0
        )), s & 2048 && vd(y, a);
        break;
      case 24:
        st(
          l,
          a,
          u,
          c
        ), s & 2048 && us(a.alternate, a);
        break;
      default:
        st(
          l,
          a,
          u,
          c
        );
    }
  }
  function Zl(l, a, u, c, s) {
    for (s = s && (a.subtreeFlags & 10256) !== 0, a = a.child; a !== null; ) {
      var r = l, y = a, g = u, A = c, z = y.flags;
      switch (y.tag) {
        case 0:
        case 11:
        case 15:
          Zl(
            r,
            y,
            g,
            A,
            s
          ), Fe(8, y);
          break;
        case 23:
          break;
        case 22:
          var j = y.stateNode;
          y.memoizedState !== null ? j._visibility & 2 ? Zl(
            r,
            y,
            g,
            A,
            s
          ) : Bo(
            r,
            y
          ) : (j._visibility |= 2, Zl(
            r,
            y,
            g,
            A,
            s
          )), s && z & 2048 && vd(
            y.alternate,
            y
          );
          break;
        case 24:
          Zl(
            r,
            y,
            g,
            A,
            s
          ), s && z & 2048 && us(y.alternate, y);
          break;
        default:
          Zl(
            r,
            y,
            g,
            A,
            s
          );
      }
      a = a.sibling;
    }
  }
  function Bo(l, a) {
    if (a.subtreeFlags & 10256)
      for (a = a.child; a !== null; ) {
        var u = l, c = a, s = c.flags;
        switch (c.tag) {
          case 22:
            Bo(u, c), s & 2048 && vd(
              c.alternate,
              c
            );
            break;
          case 24:
            Bo(u, c), s & 2048 && us(c.alternate, c);
            break;
          default:
            Bo(u, c);
        }
        a = a.sibling;
      }
  }
  var za = 8192;
  function hc(l) {
    if (l.subtreeFlags & za)
      for (l = l.child; l !== null; )
        is(l), l = l.sibling;
  }
  function is(l) {
    switch (l.tag) {
      case 26:
        hc(l), l.flags & za && l.memoizedState !== null && Vp(
          ga,
          l.memoizedState,
          l.memoizedProps
        );
        break;
      case 5:
        hc(l);
        break;
      case 3:
      case 4:
        var a = ga;
        ga = Yd(l.stateNode.containerInfo), hc(l), ga = a;
        break;
      case 22:
        l.memoizedState === null && (a = l.alternate, a !== null && a.memoizedState !== null ? (a = za, za = 16777216, hc(l), za = a) : hc(l));
        break;
      default:
        hc(l);
    }
  }
  function nt(l) {
    var a = l.alternate;
    if (a !== null && (l = a.child, l !== null)) {
      a.child = null;
      do
        a = l.sibling, l.sibling = null, l = a;
      while (l !== null);
    }
  }
  function yc(l) {
    var a = l.deletions;
    if ((l.flags & 16) !== 0) {
      if (a !== null)
        for (var u = 0; u < a.length; u++) {
          var c = a[u];
          $t = c, Wy(
            c,
            l
          );
        }
      nt(l);
    }
    if (l.subtreeFlags & 10256)
      for (l = l.child; l !== null; )
        fl(l), l = l.sibling;
  }
  function fl(l) {
    switch (l.tag) {
      case 0:
      case 11:
      case 15:
        yc(l), l.flags & 2048 && Mn(9, l, l.return);
        break;
      case 3:
        yc(l);
        break;
      case 12:
        yc(l);
        break;
      case 22:
        var a = l.stateNode;
        l.memoizedState !== null && a._visibility & 2 && (l.return === null || l.return.tag !== 13) ? (a._visibility &= -3, Ad(l)) : yc(l);
        break;
      default:
        yc(l);
    }
  }
  function Ad(l) {
    var a = l.deletions;
    if ((l.flags & 16) !== 0) {
      if (a !== null)
        for (var u = 0; u < a.length; u++) {
          var c = a[u];
          $t = c, Wy(
            c,
            l
          );
        }
      nt(l);
    }
    for (l = l.child; l !== null; ) {
      switch (a = l, a.tag) {
        case 0:
        case 11:
        case 15:
          Mn(8, a, a.return), Ad(a);
          break;
        case 22:
          u = a.stateNode, u._visibility & 2 && (u._visibility &= -3, Ad(a));
          break;
        default:
          Ad(a);
      }
      l = l.sibling;
    }
  }
  function Wy(l, a) {
    for (; $t !== null; ) {
      var u = $t;
      switch (u.tag) {
        case 0:
        case 11:
        case 15:
          Mn(8, u, a);
          break;
        case 23:
        case 22:
          if (u.memoizedState !== null && u.memoizedState.cachePool !== null) {
            var c = u.memoizedState.cachePool.pool;
            c != null && c.refCount++;
          }
          break;
        case 24:
          ro(u.memoizedState.cache);
      }
      if (c = u.child, c !== null) c.return = u, $t = c;
      else
        e: for (u = l; $t !== null; ) {
          c = $t;
          var s = c.sibling, r = c.return;
          if (hd(c), c === u) {
            $t = null;
            break e;
          }
          if (s !== null) {
            s.return = r, $t = s;
            break e;
          }
          $t = r;
        }
    }
  }
  var Iy = {
    getCacheForType: function(l) {
      var a = vl(Yt), u = a.data.get(l);
      return u === void 0 && (u = l(), a.data.set(l, u)), u;
    }
  }, ig = typeof WeakMap == "function" ? WeakMap : Map, Be = 0, rt = null, Ne = null, Ve = 0, Pe = 0, ta = null, ui = !1, yu = !1, Sd = !1, Qn = 0, zt = 0, ii = 0, mc = 0, Fy = 0, Ua = 0, gc = 0, cs = null, Xl = null, Nn = !1, _y = 0, bd = 1 / 0, os = null, ci = null, el = 0, oi = null, xo = null, fi = 0, Py = 0, $y = null, Ed = null, fs = 0, la = null;
  function aa() {
    if ((Be & 2) !== 0 && Ve !== 0)
      return Ve & -Ve;
    if (R.T !== null) {
      var l = yo;
      return l !== 0 ? l : Ud();
    }
    return lr();
  }
  function em() {
    Ua === 0 && (Ua = (Ve & 536870912) === 0 || ke ? tr() : 536870912);
    var l = Gl.current;
    return l !== null && (l.flags |= 32), Ua;
  }
  function na(l, a, u) {
    (l === rt && (Pe === 2 || Pe === 9) || l.cancelPendingCommit !== null) && (gu(l, 0), mu(
      l,
      Ve,
      Ua,
      !1
    )), _n(l, u), ((Be & 2) === 0 || l !== rt) && (l === rt && ((Be & 2) === 0 && (mc |= u), zt === 4 && mu(
      l,
      Ve,
      Ua,
      !1
    )), Ma(l));
  }
  function tm(l, a, u) {
    if ((Be & 6) !== 0) throw Error(v(327));
    var c = !u && (a & 124) === 0 && (a & l.expiredLanes) === 0 || _c(l, a), s = c ? Ho(l, a) : Cd(l, a, !0), r = c;
    do {
      if (s === 0) {
        yu && !c && mu(l, a, 0, !1);
        break;
      } else {
        if (u = l.current.alternate, r && !Qp(u)) {
          s = Cd(l, a, !1), r = !1;
          continue;
        }
        if (s === 2) {
          if (r = a, l.errorRecoveryDisabledLanes & r)
            var y = 0;
          else
            y = l.pendingLanes & -536870913, y = y !== 0 ? y : y & 536870912 ? 536870912 : 0;
          if (y !== 0) {
            a = y;
            e: {
              var g = l;
              s = cs;
              var A = g.current.memoizedState.isDehydrated;
              if (A && (gu(g, y).flags |= 256), y = Cd(
                g,
                y,
                !1
              ), y !== 2) {
                if (Sd && !A) {
                  g.errorRecoveryDisabledLanes |= r, mc |= r, s = 4;
                  break e;
                }
                r = Xl, Xl = s, r !== null && (Xl === null ? Xl = r : Xl.push.apply(
                  Xl,
                  r
                ));
              }
              s = y;
            }
            if (r = !1, s !== 2) continue;
          }
        }
        if (s === 1) {
          gu(l, 0), mu(l, a, 0, !0);
          break;
        }
        e: {
          switch (c = l, r = s, r) {
            case 0:
            case 1:
              throw Error(v(345));
            case 4:
              if ((a & 4194048) !== a) break;
            case 6:
              mu(
                c,
                a,
                Ua,
                !ui
              );
              break e;
            case 2:
              Xl = null;
              break;
            case 3:
            case 5:
              break;
            default:
              throw Error(v(329));
          }
          if ((a & 62914560) === a && (s = _y + 300 - Ya(), 10 < s)) {
            if (mu(
              c,
              a,
              Ua,
              !ui
            ), Fc(c, 0, !0) !== 0) break e;
            c.timeoutHandle = Yo(
              cg.bind(
                null,
                c,
                u,
                Xl,
                os,
                Nn,
                a,
                Ua,
                mc,
                gc,
                ui,
                r,
                2,
                -0,
                0
              ),
              s
            );
            break e;
          }
          cg(
            c,
            u,
            Xl,
            os,
            Nn,
            a,
            Ua,
            mc,
            gc,
            ui,
            r,
            0,
            -0,
            0
          );
        }
      }
      break;
    } while (!0);
    Ma(l);
  }
  function cg(l, a, u, c, s, r, y, g, A, z, j, X, M, x) {
    if (l.timeoutHandle = -1, X = a.subtreeFlags, (X & 8192 || (X & 16785408) === 16785408) && (Na = { stylesheets: null, count: 0, unsuspend: Cm }, is(a), X = Gp(), X !== null)) {
      l.cancelPendingCommit = X(
        im.bind(
          null,
          l,
          a,
          r,
          u,
          c,
          s,
          y,
          g,
          A,
          j,
          1,
          M,
          x
        )
      ), mu(l, r, y, !z);
      return;
    }
    im(
      l,
      a,
      r,
      u,
      c,
      s,
      y,
      g,
      A
    );
  }
  function Qp(l) {
    for (var a = l; ; ) {
      var u = a.tag;
      if ((u === 0 || u === 11 || u === 15) && a.flags & 16384 && (u = a.updateQueue, u !== null && (u = u.stores, u !== null)))
        for (var c = 0; c < u.length; c++) {
          var s = u[c], r = s.getSnapshot;
          s = s.value;
          try {
            if (!gl(r(), s)) return !1;
          } catch {
            return !1;
          }
        }
      if (u = a.child, a.subtreeFlags & 16384 && u !== null)
        u.return = a, a = u;
      else {
        if (a === l) break;
        for (; a.sibling === null; ) {
          if (a.return === null || a.return === l) return !0;
          a = a.return;
        }
        a.sibling.return = a.return, a = a.sibling;
      }
    }
    return !0;
  }
  function mu(l, a, u, c) {
    a &= ~Fy, a &= ~mc, l.suspendedLanes |= a, l.pingedLanes &= ~a, c && (l.warmLanes |= a), c = l.expirationTimes;
    for (var s = a; 0 < s; ) {
      var r = 31 - hl(s), y = 1 << r;
      c[r] = -1, s &= ~y;
    }
    u !== 0 && kt(l, u, a);
  }
  function Td() {
    return (Be & 6) === 0 ? (Sc(0), !1) : !0;
  }
  function pc() {
    if (Ne !== null) {
      if (Pe === 0)
        var l = Ne.return;
      else
        l = Ne, Vl = $l = null, Yr(l), cu = null, nc = 0, l = Ne;
      for (; l !== null; )
        Gy(l.alternate, l), l = l.return;
      Ne = null;
    }
  }
  function gu(l, a) {
    var u = l.timeoutHandle;
    u !== -1 && (l.timeoutHandle = -1, yi(u)), u = l.cancelPendingCommit, u !== null && (l.cancelPendingCommit = null, u()), pc(), rt = l, Ne = u = zl(l.current, null), Ve = a, Pe = 0, ta = null, ui = !1, yu = _c(l, a), Sd = !1, gc = Ua = Fy = mc = ii = zt = 0, Xl = cs = null, Nn = !1, (a & 8) !== 0 && (a |= a & 32);
    var c = l.entangledLanes;
    if (c !== 0)
      for (l = l.entanglements, c &= a; 0 < c; ) {
        var s = 31 - hl(c), r = 1 << s;
        a |= l[s], c &= ~r;
      }
    return Qn = a, Xi(), u;
  }
  function lm(l, a) {
    Me = null, R.H = Kf, a === Qf || a === iu ? (a = ry(), Pe = 3) : a === mo ? (a = ry(), Pe = 4) : Pe = a === _0 ? 8 : a !== null && typeof a == "object" && typeof a.then == "function" ? 6 : 1, ta = a, Ne === null && (zt = 1, _f(
      l,
      ya(a, l.current)
    ));
  }
  function am() {
    var l = Gl.current;
    return l === null ? !0 : (Ve & 4194048) === Ve ? Ia === null : (Ve & 62914560) === Ve || (Ve & 536870912) !== 0 ? l === Ia : !1;
  }
  function ss() {
    var l = R.H;
    return R.H = Kf, l === null ? Kf : l;
  }
  function vc() {
    var l = R.A;
    return R.A = Iy, l;
  }
  function Ac() {
    zt = 4, ui || (Ve & 4194048) !== Ve && Gl.current !== null || (yu = !0), (ii & 134217727) === 0 && (mc & 134217727) === 0 || rt === null || mu(
      rt,
      Ve,
      Ua,
      !1
    );
  }
  function Cd(l, a, u) {
    var c = Be;
    Be |= 2;
    var s = ss(), r = vc();
    (rt !== l || Ve !== a) && (os = null, gu(l, a)), a = !1;
    var y = zt;
    e: do
      try {
        if (Pe !== 0 && Ne !== null) {
          var g = Ne, A = ta;
          switch (Pe) {
            case 8:
              pc(), y = 6;
              break e;
            case 3:
            case 2:
            case 9:
            case 6:
              Gl.current === null && (a = !0);
              var z = Pe;
              if (Pe = 0, ta = null, si(l, g, A, z), u && yu) {
                y = 0;
                break e;
              }
              break;
            default:
              z = Pe, Pe = 0, ta = null, si(l, g, A, z);
          }
        }
        Np(), y = zt;
        break;
      } catch (j) {
        lm(l, j);
      }
    while (!0);
    return a && l.shellSuspendCounter++, Vl = $l = null, Be = c, R.H = s, R.A = r, Ne === null && (rt = null, Ve = 0, Xi()), y;
  }
  function Np() {
    for (; Ne !== null; ) nm(Ne);
  }
  function Ho(l, a) {
    var u = Be;
    Be |= 2;
    var c = ss(), s = vc();
    rt !== l || Ve !== a ? (os = null, bd = Ya() + 500, gu(l, a)) : yu = _c(
      l,
      a
    );
    e: do
      try {
        if (Pe !== 0 && Ne !== null) {
          a = Ne;
          var r = ta;
          t: switch (Pe) {
            case 1:
              Pe = 0, ta = null, si(l, a, r, 1);
              break;
            case 2:
            case 9:
              if (Pu(r)) {
                Pe = 0, ta = null, ds(a);
                break;
              }
              a = function() {
                Pe !== 2 && Pe !== 9 || rt !== l || (Pe = 7), Ma(l);
              }, r.then(a, a);
              break e;
            case 3:
              Pe = 7;
              break e;
            case 4:
              Pe = 5;
              break e;
            case 7:
              Pu(r) ? (Pe = 0, ta = null, ds(a)) : (Pe = 0, ta = null, si(l, a, r, 7));
              break;
            case 5:
              var y = null;
              switch (Ne.tag) {
                case 26:
                  y = Ne.memoizedState;
                case 5:
                case 27:
                  var g = Ne;
                  if (y ? Nl(y) : g.stateNode.complete) {
                    Pe = 0, ta = null;
                    var A = g.sibling;
                    if (A !== null) Ne = A;
                    else {
                      var z = g.return;
                      z !== null ? (Ne = z, Qo(z)) : Ne = null;
                    }
                    break t;
                  }
              }
              Pe = 0, ta = null, si(l, a, r, 5);
              break;
            case 6:
              Pe = 0, ta = null, si(l, a, r, 6);
              break;
            case 8:
              pc(), zt = 6;
              break e;
            default:
              throw Error(v(462));
          }
        }
        rs();
        break;
      } catch (j) {
        lm(l, j);
      }
    while (!0);
    return Vl = $l = null, R.H = c, R.A = s, Be = u, Ne !== null ? 0 : (rt = null, Ve = 0, Xi(), zt);
  }
  function rs() {
    for (; Ne !== null && !cf(); )
      nm(Ne);
  }
  function nm(l) {
    var a = jy(l.alternate, l, Qn);
    l.memoizedProps = l.pendingProps, a === null ? Qo(l) : Ne = a;
  }
  function ds(l) {
    var a = l, u = a.alternate;
    switch (a.tag) {
      case 15:
      case 0:
        a = ed(
          u,
          a,
          a.pendingProps,
          a.type,
          void 0,
          Ve
        );
        break;
      case 11:
        a = ed(
          u,
          a,
          a.pendingProps,
          a.type.render,
          a.ref,
          Ve
        );
        break;
      case 5:
        Yr(a);
      default:
        Gy(u, a), a = Ne = co(a, Qn), a = jy(u, a, Qn);
    }
    l.memoizedProps = l.pendingProps, a === null ? Qo(l) : Ne = a;
  }
  function si(l, a, u, c) {
    Vl = $l = null, Yr(a), cu = null, nc = 0;
    var s = a.return;
    try {
      if (F0(
        l,
        s,
        a,
        u,
        Ve
      )) {
        zt = 1, _f(
          l,
          ya(u, l.current)
        ), Ne = null;
        return;
      }
    } catch (r) {
      if (s !== null) throw Ne = s, r;
      zt = 1, _f(
        l,
        ya(u, l.current)
      ), Ne = null;
      return;
    }
    a.flags & 32768 ? (ke || c === 1 ? l = !0 : yu || (Ve & 536870912) !== 0 ? l = !1 : (ui = l = !0, (c === 2 || c === 9 || c === 3 || c === 6) && (c = Gl.current, c !== null && c.tag === 13 && (c.flags |= 16384))), um(a, l)) : Qo(a);
  }
  function Qo(l) {
    var a = l;
    do {
      if ((a.flags & 32768) !== 0) {
        um(
          a,
          ui
        );
        return;
      }
      l = a.return;
      var u = as(
        a.alternate,
        a,
        Qn
      );
      if (u !== null) {
        Ne = u;
        return;
      }
      if (a = a.sibling, a !== null) {
        Ne = a;
        return;
      }
      Ne = a = l;
    } while (a !== null);
    zt === 0 && (zt = 5);
  }
  function um(l, a) {
    do {
      var u = eg(l.alternate, l);
      if (u !== null) {
        u.flags &= 32767, Ne = u;
        return;
      }
      if (u = l.return, u !== null && (u.flags |= 32768, u.subtreeFlags = 0, u.deletions = null), !a && (l = l.sibling, l !== null)) {
        Ne = l;
        return;
      }
      Ne = l = u;
    } while (l !== null);
    zt = 6, Ne = null;
  }
  function im(l, a, u, c, s, r, y, g, A) {
    l.cancelPendingCommit = null;
    do
      Rd();
    while (el !== 0);
    if ((Be & 6) !== 0) throw Error(v(327));
    if (a !== null) {
      if (a === l.current) throw Error(v(177));
      if (r = a.lanes | a.childLanes, r |= Ft, Pc(
        l,
        u,
        r,
        y,
        g,
        A
      ), l === rt && (Ne = rt = null, Ve = 0), xo = a, oi = l, fi = u, Py = r, $y = s, Ed = c, (a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? (l.callbackNode = null, l.callbackPriority = 0, rm(er, function() {
        return hs(), null;
      })) : (l.callbackNode = null, l.callbackPriority = 0), c = (a.flags & 13878) !== 0, (a.subtreeFlags & 13878) !== 0 || c) {
        c = R.T, R.T = null, s = J.p, J.p = 2, y = Be, Be |= 4;
        try {
          ag(l, a, u);
        } finally {
          Be = y, J.p = s, R.T = c;
        }
      }
      el = 1, og(), cm(), fg();
    }
  }
  function og() {
    if (el === 1) {
      el = 0;
      var l = oi, a = xo, u = (a.flags & 13878) !== 0;
      if ((a.subtreeFlags & 13878) !== 0 || u) {
        u = R.T, R.T = null;
        var c = J.p;
        J.p = 2;
        var s = Be;
        Be |= 4;
        try {
          gd(a, l);
          var r = N, y = ey(l.containerInfo), g = r.focusedElem, A = r.selectionRange;
          if (y !== g && g && g.ownerDocument && Ef(
            g.ownerDocument.documentElement,
            g
          )) {
            if (A !== null && Tf(g)) {
              var z = A.start, j = A.end;
              if (j === void 0 && (j = z), "selectionStart" in g)
                g.selectionStart = z, g.selectionEnd = Math.min(
                  j,
                  g.value.length
                );
              else {
                var X = g.ownerDocument || document, M = X && X.defaultView || window;
                if (M.getSelection) {
                  var x = M.getSelection(), me = g.textContent.length, se = Math.min(A.start, me), tt = A.end === void 0 ? se : Math.min(A.end, me);
                  !x.extend && se > tt && (y = tt, tt = se, se = y);
                  var D = vt(
                    g,
                    se
                  ), E = vt(
                    g,
                    tt
                  );
                  if (D && E && (x.rangeCount !== 1 || x.anchorNode !== D.node || x.anchorOffset !== D.offset || x.focusNode !== E.node || x.focusOffset !== E.offset)) {
                    var O = X.createRange();
                    O.setStart(D.node, D.offset), x.removeAllRanges(), se > tt ? (x.addRange(O), x.extend(E.node, E.offset)) : (O.setEnd(E.node, E.offset), x.addRange(O));
                  }
                }
              }
            }
            for (X = [], x = g; x = x.parentNode; )
              x.nodeType === 1 && X.push({
                element: x,
                left: x.scrollLeft,
                top: x.scrollTop
              });
            for (typeof g.focus == "function" && g.focus(), g = 0; g < X.length; g++) {
              var G = X[g];
              G.element.scrollLeft = G.left, G.element.scrollTop = G.top;
            }
          }
          Os = !!tl, N = tl = null;
        } finally {
          Be = s, J.p = c, R.T = u;
        }
      }
      l.current = a, el = 2;
    }
  }
  function cm() {
    if (el === 2) {
      el = 0;
      var l = oi, a = xo, u = (a.flags & 8772) !== 0;
      if ((a.subtreeFlags & 8772) !== 0 || u) {
        u = R.T, R.T = null;
        var c = J.p;
        J.p = 2;
        var s = Be;
        Be |= 4;
        try {
          ky(l, a.alternate, a);
        } finally {
          Be = s, J.p = c, R.T = u;
        }
      }
      el = 3;
    }
  }
  function fg() {
    if (el === 4 || el === 3) {
      el = 0, kc();
      var l = oi, a = xo, u = fi, c = Ed;
      (a.subtreeFlags & 10256) !== 0 || (a.flags & 10256) !== 0 ? el = 5 : (el = 0, xo = oi = null, sg(l, l.pendingLanes));
      var s = l.pendingLanes;
      if (s === 0 && (ci = null), Hu(u), a = a.stateNode, Wl && typeof Wl.onCommitFiberRoot == "function")
        try {
          Wl.onCommitFiberRoot(
            Wc,
            a,
            void 0,
            (a.current.flags & 128) === 128
          );
        } catch {
        }
      if (c !== null) {
        a = R.T, s = J.p, J.p = 2, R.T = null;
        try {
          for (var r = l.onRecoverableError, y = 0; y < c.length; y++) {
            var g = c[y];
            r(g.value, {
              componentStack: g.stack
            });
          }
        } finally {
          R.T = a, J.p = s;
        }
      }
      (fi & 3) !== 0 && Rd(), Ma(l), s = l.pendingLanes, (u & 4194090) !== 0 && (s & 42) !== 0 ? l === la ? fs++ : (fs = 0, la = l) : fs = 0, Sc(0);
    }
  }
  function sg(l, a) {
    (l.pooledCacheLanes &= a) === 0 && (a = l.pooledCache, a != null && (l.pooledCache = null, ro(a)));
  }
  function Rd(l) {
    return og(), cm(), fg(), hs();
  }
  function hs() {
    if (el !== 5) return !1;
    var l = oi, a = Py;
    Py = 0;
    var u = Hu(fi), c = R.T, s = J.p;
    try {
      J.p = 32 > u ? 32 : u, R.T = null, u = $y, $y = null;
      var r = oi, y = fi;
      if (el = 0, xo = oi = null, fi = 0, (Be & 6) !== 0) throw Error(v(331));
      var g = Be;
      if (Be |= 4, fl(r.current), ug(
        r,
        r.current,
        y,
        u
      ), Be = g, Sc(0, !1), Wl && typeof Wl.onPostCommitFiberRoot == "function")
        try {
          Wl.onPostCommitFiberRoot(Wc, r);
        } catch {
        }
      return !0;
    } finally {
      J.p = s, R.T = c, sg(l, a);
    }
  }
  function Dd(l, a, u) {
    a = ya(u, a), a = $r(l.stateNode, a, 2), l = fu(l, a, 2), l !== null && (_n(l, 2), Ma(l));
  }
  function dt(l, a, u) {
    if (l.tag === 3)
      Dd(l, l, u);
    else
      for (; a !== null; ) {
        if (a.tag === 3) {
          Dd(
            a,
            l,
            u
          );
          break;
        } else if (a.tag === 1) {
          var c = a.stateNode;
          if (typeof a.type.getDerivedStateFromError == "function" || typeof c.componentDidCatch == "function" && (ci === null || !ci.has(c))) {
            l = ya(u, l), u = Pf(2), c = fu(a, u, 2), c !== null && (Hy(
              u,
              c,
              a,
              l
            ), _n(c, 2), Ma(c));
            break;
          }
        }
        a = a.return;
      }
  }
  function om(l, a, u) {
    var c = l.pingCache;
    if (c === null) {
      c = l.pingCache = new ig();
      var s = /* @__PURE__ */ new Set();
      c.set(a, s);
    } else
      s = c.get(a), s === void 0 && (s = /* @__PURE__ */ new Set(), c.set(a, s));
    s.has(u) || (Sd = !0, s.add(u), l = rg.bind(null, l, a, u), a.then(l, l));
  }
  function rg(l, a, u) {
    var c = l.pingCache;
    c !== null && c.delete(a), l.pingedLanes |= l.suspendedLanes & u, l.warmLanes &= ~u, rt === l && (Ve & u) === u && (zt === 4 || zt === 3 && (Ve & 62914560) === Ve && 300 > Ya() - _y ? (Be & 2) === 0 && gu(l, 0) : Fy |= u, gc === Ve && (gc = 0)), Ma(l);
  }
  function fm(l, a) {
    a === 0 && (a = Ri()), l = au(l, a), l !== null && (_n(l, a), Ma(l));
  }
  function sm(l) {
    var a = l.memoizedState, u = 0;
    a !== null && (u = a.retryLane), fm(l, u);
  }
  function dg(l, a) {
    var u = 0;
    switch (l.tag) {
      case 13:
        var c = l.stateNode, s = l.memoizedState;
        s !== null && (u = s.retryLane);
        break;
      case 19:
        c = l.stateNode;
        break;
      case 22:
        c = l.stateNode._retryCache;
        break;
      default:
        throw Error(v(314));
    }
    c !== null && c.delete(a), fm(l, u);
  }
  function rm(l, a) {
    return Oh(l, a);
  }
  var ys = null, No = null, dm = !1, Od = !1, hm = !1, pu = 0;
  function Ma(l) {
    l !== No && l.next === null && (No === null ? ys = No = l : No = No.next = l), Od = !0, dm || (dm = !0, zd());
  }
  function Sc(l, a) {
    if (!hm && Od) {
      hm = !0;
      do
        for (var u = !1, c = ys; c !== null; ) {
          if (l !== 0) {
            var s = c.pendingLanes;
            if (s === 0) var r = 0;
            else {
              var y = c.suspendedLanes, g = c.pingedLanes;
              r = (1 << 31 - hl(42 | l) + 1) - 1, r &= s & ~(y & ~g), r = r & 201326741 ? r & 201326741 | 1 : r ? r | 2 : 0;
            }
            r !== 0 && (u = !0, mm(c, r));
          } else
            r = Ve, r = Fc(
              c,
              c === rt ? r : 0,
              c.cancelPendingCommit !== null || c.timeoutHandle !== -1
            ), (r & 3) === 0 || _c(c, r) || (u = !0, mm(c, r));
          c = c.next;
        }
      while (u);
      hm = !1;
    }
  }
  function hg() {
    ym();
  }
  function ym() {
    Od = dm = !1;
    var l = 0;
    pu !== 0 && (hi() && (l = pu), pu = 0);
    for (var a = Ya(), u = null, c = ys; c !== null; ) {
      var s = c.next, r = wo(c, a);
      r === 0 ? (c.next = null, u === null ? ys = s : u.next = s, s === null && (No = u)) : (u = c, (l !== 0 || (r & 3) !== 0) && (Od = !0)), c = s;
    }
    el !== 0 && el !== 5 || Sc(l);
  }
  function wo(l, a) {
    for (var u = l.suspendedLanes, c = l.pingedLanes, s = l.expirationTimes, r = l.pendingLanes & -62914561; 0 < r; ) {
      var y = 31 - hl(r), g = 1 << y, A = s[y];
      A === -1 ? ((g & u) === 0 || (g & c) !== 0) && (s[y] = Tp(g, a)) : A <= a && (l.expiredLanes |= g), r &= ~g;
    }
    if (a = rt, u = Ve, u = Fc(
      l,
      l === a ? u : 0,
      l.cancelPendingCommit !== null || l.timeoutHandle !== -1
    ), c = l.callbackNode, u === 0 || l === a && (Pe === 2 || Pe === 9) || l.cancelPendingCommit !== null)
      return c !== null && c !== null && $s(c), l.callbackNode = null, l.callbackPriority = 0;
    if ((u & 3) === 0 || _c(l, u)) {
      if (a = u & -u, a === l.callbackPriority) return a;
      switch (c !== null && $s(c), Hu(u)) {
        case 2:
        case 8:
          u = S0;
          break;
        case 32:
          u = er;
          break;
        case 268435456:
          u = of;
          break;
        default:
          u = er;
      }
      return c = yg.bind(null, l), u = Oh(u, c), l.callbackPriority = a, l.callbackNode = u, a;
    }
    return c !== null && c !== null && $s(c), l.callbackPriority = 2, l.callbackNode = null, 2;
  }
  function yg(l, a) {
    if (el !== 0 && el !== 5)
      return l.callbackNode = null, l.callbackPriority = 0, null;
    var u = l.callbackNode;
    if (Rd() && l.callbackNode !== u)
      return null;
    var c = Ve;
    return c = Fc(
      l,
      l === rt ? c : 0,
      l.cancelPendingCommit !== null || l.timeoutHandle !== -1
    ), c === 0 ? null : (tm(l, c, a), wo(l, Ya()), l.callbackNode != null && l.callbackNode === u ? yg.bind(null, l) : null);
  }
  function mm(l, a) {
    if (Rd()) return null;
    tm(l, a, !0);
  }
  function zd() {
    bs(function() {
      (Be & 6) !== 0 ? Oh(
        Kc,
        hg
      ) : ym();
    });
  }
  function Ud() {
    return pu === 0 && (pu = tr()), pu;
  }
  function mg(l) {
    return l == null || typeof l == "symbol" || typeof l == "boolean" ? null : typeof l == "function" ? l : yf("" + l);
  }
  function ms(l, a) {
    var u = a.ownerDocument.createElement("input");
    return u.name = a.name, u.value = a.value, l.id && u.setAttribute("form", l.id), a.parentNode.insertBefore(u, a), l = new FormData(l), u.parentNode.removeChild(u), l;
  }
  function gg(l, a, u, c, s) {
    if (a === "submit" && u && u.stateNode === s) {
      var r = mg(
        (s[xt] || null).action
      ), y = c.submitter;
      y && (a = (a = y[xt] || null) ? mg(a.formAction) : y.getAttribute("formAction"), a !== null && (r = a, y = null));
      var g = new dr(
        "action",
        "action",
        null,
        c,
        s
      );
      l.push({
        event: g,
        listeners: [
          {
            instance: null,
            listener: function() {
              if (c.defaultPrevented) {
                if (pu !== 0) {
                  var A = y ? ms(s, y) : new FormData(s);
                  Ir(
                    u,
                    {
                      pending: !0,
                      data: A,
                      method: s.method,
                      action: r
                    },
                    null,
                    A
                  );
                }
              } else
                typeof r == "function" && (g.preventDefault(), A = y ? ms(s, y) : new FormData(s), Ir(
                  u,
                  {
                    pending: !0,
                    data: A,
                    method: s.method,
                    action: r
                  },
                  r,
                  A
                ));
            },
            currentTarget: s
          }
        ]
      });
    }
  }
  for (var bc = 0; bc < Sr.length; bc++) {
    var gs = Sr[bc], Md = gs.toLowerCase(), pg = gs[0].toUpperCase() + gs.slice(1);
    Ra(
      Md,
      "on" + pg
    );
  }
  Ra(Xa, "onAnimationEnd"), Ra(Rf, "onAnimationIteration"), Ra(L0, "onAnimationStart"), Ra("dblclick", "onDoubleClick"), Ra("focusin", "onFocus"), Ra("focusout", "onBlur"), Ra(j0, "onTransitionRun"), Ra(Bp, "onTransitionStart"), Ra(ly, "onTransitionCancel"), Ra(Df, "onTransitionEnd"), zi("onMouseEnter", ["mouseout", "mouseover"]), zi("onMouseLeave", ["mouseout", "mouseover"]), zi("onPointerEnter", ["pointerout", "pointerover"]), zi("onPointerLeave", ["pointerout", "pointerover"]), qu(
    "onChange",
    "change click focusin focusout input keydown keyup selectionchange".split(" ")
  ), qu(
    "onSelect",
    "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
      " "
    )
  ), qu("onBeforeInput", [
    "compositionend",
    "keypress",
    "textInput",
    "paste"
  ]), qu(
    "onCompositionEnd",
    "compositionend focusout keydown keypress keyup mousedown".split(" ")
  ), qu(
    "onCompositionStart",
    "compositionstart focusout keydown keypress keyup mousedown".split(" ")
  ), qu(
    "onCompositionUpdate",
    "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
  );
  var Ut = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
    " "
  ), gm = new Set(
    "beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Ut)
  );
  function vg(l, a) {
    a = (a & 4) !== 0;
    for (var u = 0; u < l.length; u++) {
      var c = l[u], s = c.event;
      c = c.listeners;
      e: {
        var r = void 0;
        if (a)
          for (var y = c.length - 1; 0 <= y; y--) {
            var g = c[y], A = g.instance, z = g.currentTarget;
            if (g = g.listener, A !== r && s.isPropagationStopped())
              break e;
            r = g, s.currentTarget = z;
            try {
              r(s);
            } catch (j) {
              Ff(j);
            }
            s.currentTarget = null, r = A;
          }
        else
          for (y = 0; y < c.length; y++) {
            if (g = c[y], A = g.instance, z = g.currentTarget, g = g.listener, A !== r && s.isPropagationStopped())
              break e;
            r = g, s.currentTarget = z;
            try {
              r(s);
            } catch (j) {
              Ff(j);
            }
            s.currentTarget = null, r = A;
          }
      }
    }
  }
  function ee(l, a) {
    var u = a[ar];
    u === void 0 && (u = a[ar] = /* @__PURE__ */ new Set());
    var c = l + "__bubble";
    u.has(c) || (Ec(a, l, 2, !1), u.add(c));
  }
  function pm(l, a, u) {
    var c = 0;
    a && (c |= 4), Ec(
      u,
      l,
      c,
      a
    );
  }
  var ln = "_reactListening" + Math.random().toString(36).slice(2);
  function ri(l) {
    if (!l[ln]) {
      l[ln] = !0, Uh.forEach(function(u) {
        u !== "selectionchange" && (gm.has(u) || pm(u, !1, l), pm(u, !0, l));
      });
      var a = l.nodeType === 9 ? l : l.ownerDocument;
      a === null || a[ln] || (a[ln] = !0, pm("selectionchange", !1, a));
    }
  }
  function Ec(l, a, u, c) {
    switch (Og(a)) {
      case 2:
        var s = Rg;
        break;
      case 8:
        s = Dg;
        break;
      default:
        s = Gd;
    }
    u = s.bind(
      null,
      a,
      u,
      l
    ), s = void 0, !fr || a !== "touchstart" && a !== "touchmove" && a !== "wheel" || (s = !0), c ? s !== void 0 ? l.addEventListener(a, u, {
      capture: !0,
      passive: s
    }) : l.addEventListener(a, u, !0) : s !== void 0 ? l.addEventListener(a, u, {
      passive: s
    }) : l.addEventListener(a, u, !1);
  }
  function qo(l, a, u, c, s) {
    var r = c;
    if ((a & 1) === 0 && (a & 2) === 0 && c !== null)
      e: for (; ; ) {
        if (c === null) return;
        var y = c.tag;
        if (y === 3 || y === 4) {
          var g = c.stateNode.containerInfo;
          if (g === s) break;
          if (y === 4)
            for (y = c.return; y !== null; ) {
              var A = y.tag;
              if ((A === 3 || A === 4) && y.stateNode.containerInfo === s)
                return;
              y = y.return;
            }
          for (; g !== null; ) {
            if (y = Di(g), y === null) return;
            if (A = y.tag, A === 5 || A === 6 || A === 26 || A === 27) {
              c = r = y;
              continue e;
            }
            g = g.parentNode;
          }
        }
        c = c.return;
      }
    no(function() {
      var z = r, j = or(u), X = [];
      e: {
        var M = ay.get(l);
        if (M !== void 0) {
          var x = dr, me = l;
          switch (l) {
            case "keypress":
              if (ml(u) === 0) break e;
            case "keydown":
            case "keyup":
              x = ja;
              break;
            case "focusin":
              me = "focus", x = Lh;
              break;
            case "focusout":
              me = "blur", x = Lh;
              break;
            case "beforeblur":
            case "afterblur":
              x = Lh;
              break;
            case "click":
              if (u.button === 2) break e;
            case "auxclick":
            case "dblclick":
            case "mousedown":
            case "mousemove":
            case "mouseup":
            case "mouseout":
            case "mouseover":
            case "contextmenu":
              x = Yh;
              break;
            case "drag":
            case "dragend":
            case "dragenter":
            case "dragexit":
            case "dragleave":
            case "dragover":
            case "dragstart":
            case "drop":
              x = M0;
              break;
            case "touchcancel":
            case "touchend":
            case "touchmove":
            case "touchstart":
              x = Gh;
              break;
            case Xa:
            case Rf:
            case L0:
              x = Up;
              break;
            case Df:
              x = N0;
              break;
            case "scroll":
            case "scrollend":
              x = z0;
              break;
            case "wheel":
              x = qi;
              break;
            case "copy":
            case "cut":
            case "paste":
              x = pf;
              break;
            case "gotpointercapture":
            case "lostpointercapture":
            case "pointercancel":
            case "pointerdown":
            case "pointermove":
            case "pointerout":
            case "pointerover":
            case "pointerup":
              x = vf;
              break;
            case "toggle":
            case "beforetoggle":
              x = w0;
          }
          var se = (a & 4) !== 0, tt = !se && (l === "scroll" || l === "scrollend"), D = se ? M !== null ? M + "Capture" : null : M;
          se = [];
          for (var E = z, O; E !== null; ) {
            var G = E;
            if (O = G.stateNode, G = G.tag, G !== 5 && G !== 26 && G !== 27 || O === null || D === null || (G = Hi(E, D), G != null && se.push(
              Tc(E, G, O)
            )), tt) break;
            E = E.return;
          }
          0 < se.length && (M = new x(
            M,
            me,
            null,
            u,
            j
          ), X.push({ event: M, listeners: se }));
        }
      }
      if ((a & 7) === 0) {
        e: {
          if (M = l === "mouseover" || l === "pointerover", x = l === "mouseout" || l === "pointerout", M && u !== xi && (me = u.relatedTarget || u.fromElement) && (Di(me) || me[yl]))
            break e;
          if ((x || M) && (M = j.window === j ? j : (M = j.ownerDocument) ? M.defaultView || M.parentWindow : window, x ? (me = u.relatedTarget || u.toElement, x = z, me = me ? Di(me) : null, me !== null && (tt = I(me), se = me.tag, me !== tt || se !== 5 && se !== 27 && se !== 6) && (me = null)) : (x = null, me = z), x !== me)) {
            if (se = Yh, G = "onMouseLeave", D = "onMouseEnter", E = "mouse", (l === "pointerout" || l === "pointerover") && (se = vf, G = "onPointerLeave", D = "onPointerEnter", E = "pointer"), tt = x == null ? M : $c(x), O = me == null ? M : $c(me), M = new se(
              G,
              E + "leave",
              x,
              u,
              j
            ), M.target = tt, M.relatedTarget = O, G = null, Di(j) === z && (se = new se(
              D,
              E + "enter",
              me,
              u,
              j
            ), se.target = O, se.relatedTarget = tt, G = se), tt = G, x && me)
              t: {
                for (se = x, D = me, E = 0, O = se; O; O = di(O))
                  E++;
                for (O = 0, G = D; G; G = di(G))
                  O++;
                for (; 0 < E - O; )
                  se = di(se), E--;
                for (; 0 < O - E; )
                  D = di(D), O--;
                for (; E--; ) {
                  if (se === D || D !== null && se === D.alternate)
                    break t;
                  se = di(se), D = di(D);
                }
                se = null;
              }
            else se = null;
            x !== null && an(
              X,
              M,
              x,
              se,
              !1
            ), me !== null && tt !== null && an(
              X,
              tt,
              me,
              se,
              !0
            );
          }
        }
        e: {
          if (M = z ? $c(z) : window, x = M.nodeName && M.nodeName.toLowerCase(), x === "select" || x === "input" && M.type === "file")
            var ne = Wh;
          else if (pr(M))
            if (Ih)
              ne = Ph;
            else {
              ne = Gu;
              var xe = Ar;
            }
          else
            x = M.nodeName, !x || x.toLowerCase() !== "input" || M.type !== "checkbox" && M.type !== "radio" ? z && Bi(z.elementType) && (ne = Wh) : ne = lu;
          if (ne && (ne = ne(l, z))) {
            vr(
              X,
              ne,
              u,
              j
            );
            break e;
          }
          xe && xe(l, M, z), l === "focusout" && z && M.type === "number" && z.memoizedProps.value != null && df(M, "number", M.value);
        }
        switch (xe = z ? $c(z) : window, l) {
          case "focusin":
            (pr(xe) || xe.contentEditable === "true") && (pn = xe, Za = z, Ju = null);
            break;
          case "focusout":
            Ju = Za = pn = null;
            break;
          case "mousedown":
            Gi = !0;
            break;
          case "contextmenu":
          case "mouseup":
          case "dragend":
            Gi = !1, _l(X, u, j);
            break;
          case "selectionchange":
            if (Vi) break;
          case "keydown":
          case "keyup":
            _l(X, u, j);
        }
        var fe;
        if (Af)
          e: {
            switch (l) {
              case "compositionstart":
                var he = "onCompositionStart";
                break e;
              case "compositionend":
                he = "onCompositionEnd";
                break e;
              case "compositionupdate":
                he = "onCompositionUpdate";
                break e;
            }
            he = void 0;
          }
        else
          Vu ? bf(l, u) && (he = "onCompositionEnd") : l === "keydown" && u.keyCode === 229 && (he = "onCompositionStart");
        he && (mn && u.locale !== "ko" && (Vu || he !== "onCompositionStart" ? he === "onCompositionEnd" && Vu && (fe = wh()) : (eu = j, uo = "value" in eu ? eu.value : eu.textContent, Vu = !0)), xe = Bd(z, he), 0 < xe.length && (he = new jh(
          he,
          l,
          null,
          u,
          j
        ), X.push({ event: he, listeners: xe }), fe ? he.data = fe : (fe = ju(u), fe !== null && (he.data = fe)))), (fe = Xh ? kh(l, u) : Yi(l, u)) && (he = Bd(z, "onBeforeInput"), 0 < he.length && (xe = new jh(
          "onBeforeInput",
          "beforeinput",
          null,
          u,
          j
        ), X.push({
          event: xe,
          listeners: he
        }), xe.data = fe)), gg(
          X,
          l,
          z,
          u,
          j
        );
      }
      vg(X, a);
    });
  }
  function Tc(l, a, u) {
    return {
      instance: l,
      listener: a,
      currentTarget: u
    };
  }
  function Bd(l, a) {
    for (var u = a + "Capture", c = []; l !== null; ) {
      var s = l, r = s.stateNode;
      if (s = s.tag, s !== 5 && s !== 26 && s !== 27 || r === null || (s = Hi(l, u), s != null && c.unshift(
        Tc(l, s, r)
      ), s = Hi(l, a), s != null && c.push(
        Tc(l, s, r)
      )), l.tag === 3) return c;
      l = l.return;
    }
    return [];
  }
  function di(l) {
    if (l === null) return null;
    do
      l = l.return;
    while (l && l.tag !== 5 && l.tag !== 27);
    return l || null;
  }
  function an(l, a, u, c, s) {
    for (var r = a._reactName, y = []; u !== null && u !== c; ) {
      var g = u, A = g.alternate, z = g.stateNode;
      if (g = g.tag, A !== null && A === c) break;
      g !== 5 && g !== 26 && g !== 27 || z === null || (A = z, s ? (z = Hi(u, r), z != null && y.unshift(
        Tc(u, z, A)
      )) : s || (z = Hi(u, r), z != null && y.push(
        Tc(u, z, A)
      ))), u = u.return;
    }
    y.length !== 0 && l.push({ event: a, listeners: y });
  }
  var ps = /\r\n?/g, vm = /\u0000|\uFFFD/g;
  function xd(l) {
    return (typeof l == "string" ? l : "" + l).replace(ps, `
`).replace(vm, "");
  }
  function vs(l, a) {
    return a = xd(a), xd(l) === a;
  }
  function Hl() {
  }
  function et(l, a, u, c, s, r) {
    switch (u) {
      case "children":
        typeof c == "string" ? a === "body" || a === "textarea" && c === "" || to(l, c) : (typeof c == "number" || typeof c == "bigint") && a !== "body" && to(l, "" + c);
        break;
      case "className":
        dn(l, "class", c);
        break;
      case "tabIndex":
        dn(l, "tabindex", c);
        break;
      case "dir":
      case "role":
      case "viewBox":
      case "width":
      case "height":
        dn(l, u, c);
        break;
      case "style":
        hf(l, c, r);
        break;
      case "data":
        if (a !== "object") {
          dn(l, "data", c);
          break;
        }
      case "src":
      case "href":
        if (c === "" && (a !== "a" || u !== "href")) {
          l.removeAttribute(u);
          break;
        }
        if (c == null || typeof c == "function" || typeof c == "symbol" || typeof c == "boolean") {
          l.removeAttribute(u);
          break;
        }
        c = yf("" + c), l.setAttribute(u, c);
        break;
      case "action":
      case "formAction":
        if (typeof c == "function") {
          l.setAttribute(
            u,
            "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"
          );
          break;
        } else
          typeof r == "function" && (u === "formAction" ? (a !== "input" && et(l, a, "name", s.name, s, null), et(
            l,
            a,
            "formEncType",
            s.formEncType,
            s,
            null
          ), et(
            l,
            a,
            "formMethod",
            s.formMethod,
            s,
            null
          ), et(
            l,
            a,
            "formTarget",
            s.formTarget,
            s,
            null
          )) : (et(l, a, "encType", s.encType, s, null), et(l, a, "method", s.method, s, null), et(l, a, "target", s.target, s, null)));
        if (c == null || typeof c == "symbol" || typeof c == "boolean") {
          l.removeAttribute(u);
          break;
        }
        c = yf("" + c), l.setAttribute(u, c);
        break;
      case "onClick":
        c != null && (l.onclick = Hl);
        break;
      case "onScroll":
        c != null && ee("scroll", l);
        break;
      case "onScrollEnd":
        c != null && ee("scrollend", l);
        break;
      case "dangerouslySetInnerHTML":
        if (c != null) {
          if (typeof c != "object" || !("__html" in c))
            throw Error(v(61));
          if (u = c.__html, u != null) {
            if (s.children != null) throw Error(v(60));
            l.innerHTML = u;
          }
        }
        break;
      case "multiple":
        l.multiple = c && typeof c != "function" && typeof c != "symbol";
        break;
      case "muted":
        l.muted = c && typeof c != "function" && typeof c != "symbol";
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "defaultValue":
      case "defaultChecked":
      case "innerHTML":
      case "ref":
        break;
      case "autoFocus":
        break;
      case "xlinkHref":
        if (c == null || typeof c == "function" || typeof c == "boolean" || typeof c == "symbol") {
          l.removeAttribute("xlink:href");
          break;
        }
        u = yf("" + c), l.setAttributeNS(
          "http://www.w3.org/1999/xlink",
          "xlink:href",
          u
        );
        break;
      case "contentEditable":
      case "spellCheck":
      case "draggable":
      case "value":
      case "autoReverse":
      case "externalResourcesRequired":
      case "focusable":
      case "preserveAlpha":
        c != null && typeof c != "function" && typeof c != "symbol" ? l.setAttribute(u, "" + c) : l.removeAttribute(u);
        break;
      case "inert":
      case "allowFullScreen":
      case "async":
      case "autoPlay":
      case "controls":
      case "default":
      case "defer":
      case "disabled":
      case "disablePictureInPicture":
      case "disableRemotePlayback":
      case "formNoValidate":
      case "hidden":
      case "loop":
      case "noModule":
      case "noValidate":
      case "open":
      case "playsInline":
      case "readOnly":
      case "required":
      case "reversed":
      case "scoped":
      case "seamless":
      case "itemScope":
        c && typeof c != "function" && typeof c != "symbol" ? l.setAttribute(u, "") : l.removeAttribute(u);
        break;
      case "capture":
      case "download":
        c === !0 ? l.setAttribute(u, "") : c !== !1 && c != null && typeof c != "function" && typeof c != "symbol" ? l.setAttribute(u, c) : l.removeAttribute(u);
        break;
      case "cols":
      case "rows":
      case "size":
      case "span":
        c != null && typeof c != "function" && typeof c != "symbol" && !isNaN(c) && 1 <= c ? l.setAttribute(u, c) : l.removeAttribute(u);
        break;
      case "rowSpan":
      case "start":
        c == null || typeof c == "function" || typeof c == "symbol" || isNaN(c) ? l.removeAttribute(u) : l.setAttribute(u, c);
        break;
      case "popover":
        ee("beforetoggle", l), ee("toggle", l), Pn(l, "popover", c);
        break;
      case "xlinkActuate":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:actuate",
          c
        );
        break;
      case "xlinkArcrole":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:arcrole",
          c
        );
        break;
      case "xlinkRole":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:role",
          c
        );
        break;
      case "xlinkShow":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:show",
          c
        );
        break;
      case "xlinkTitle":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:title",
          c
        );
        break;
      case "xlinkType":
        hn(
          l,
          "http://www.w3.org/1999/xlink",
          "xlink:type",
          c
        );
        break;
      case "xmlBase":
        hn(
          l,
          "http://www.w3.org/XML/1998/namespace",
          "xml:base",
          c
        );
        break;
      case "xmlLang":
        hn(
          l,
          "http://www.w3.org/XML/1998/namespace",
          "xml:lang",
          c
        );
        break;
      case "xmlSpace":
        hn(
          l,
          "http://www.w3.org/XML/1998/namespace",
          "xml:space",
          c
        );
        break;
      case "is":
        Pn(l, "is", c);
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        (!(2 < u.length) || u[0] !== "o" && u[0] !== "O" || u[1] !== "n" && u[1] !== "N") && (u = Dp.get(u) || u, Pn(l, u, c));
    }
  }
  function Am(l, a, u, c, s, r) {
    switch (u) {
      case "style":
        hf(l, c, r);
        break;
      case "dangerouslySetInnerHTML":
        if (c != null) {
          if (typeof c != "object" || !("__html" in c))
            throw Error(v(61));
          if (u = c.__html, u != null) {
            if (s.children != null) throw Error(v(60));
            l.innerHTML = u;
          }
        }
        break;
      case "children":
        typeof c == "string" ? to(l, c) : (typeof c == "number" || typeof c == "bigint") && to(l, "" + c);
        break;
      case "onScroll":
        c != null && ee("scroll", l);
        break;
      case "onScrollEnd":
        c != null && ee("scrollend", l);
        break;
      case "onClick":
        c != null && (l.onclick = Hl);
        break;
      case "suppressContentEditableWarning":
      case "suppressHydrationWarning":
      case "innerHTML":
      case "ref":
        break;
      case "innerText":
      case "textContent":
        break;
      default:
        if (!Oi.hasOwnProperty(u))
          e: {
            if (u[0] === "o" && u[1] === "n" && (s = u.endsWith("Capture"), a = u.slice(2, s ? u.length - 7 : void 0), r = l[xt] || null, r = r != null ? r[u] : null, typeof r == "function" && l.removeEventListener(a, r, s), typeof c == "function")) {
              typeof r != "function" && r !== null && (u in l ? l[u] = null : l.hasAttribute(u) && l.removeAttribute(u)), l.addEventListener(a, c, s);
              break e;
            }
            u in l ? l[u] = c : c === !0 ? l.setAttribute(u, "") : Pn(l, u, c);
          }
    }
  }
  function sl(l, a, u) {
    switch (a) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "img":
        ee("error", l), ee("load", l);
        var c = !1, s = !1, r;
        for (r in u)
          if (u.hasOwnProperty(r)) {
            var y = u[r];
            if (y != null)
              switch (r) {
                case "src":
                  c = !0;
                  break;
                case "srcSet":
                  s = !0;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(v(137, a));
                default:
                  et(l, a, r, y, u, null);
              }
          }
        s && et(l, a, "srcSet", u.srcSet, u, null), c && et(l, a, "src", u.src, u, null);
        return;
      case "input":
        ee("invalid", l);
        var g = r = y = s = null, A = null, z = null;
        for (c in u)
          if (u.hasOwnProperty(c)) {
            var j = u[c];
            if (j != null)
              switch (c) {
                case "name":
                  s = j;
                  break;
                case "type":
                  y = j;
                  break;
                case "checked":
                  A = j;
                  break;
                case "defaultChecked":
                  z = j;
                  break;
                case "value":
                  r = j;
                  break;
                case "defaultValue":
                  g = j;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  if (j != null)
                    throw Error(v(137, a));
                  break;
                default:
                  et(l, a, c, j, u, null);
              }
          }
        ir(
          l,
          r,
          g,
          A,
          z,
          y,
          s,
          !1
        ), Yu(l);
        return;
      case "select":
        ee("invalid", l), c = y = r = null;
        for (s in u)
          if (u.hasOwnProperty(s) && (g = u[s], g != null))
            switch (s) {
              case "value":
                r = g;
                break;
              case "defaultValue":
                y = g;
                break;
              case "multiple":
                c = g;
              default:
                et(l, a, s, g, u, null);
            }
        a = r, u = y, l.multiple = !!c, a != null ? Mi(l, !!c, a, !1) : u != null && Mi(l, !!c, u, !0);
        return;
      case "textarea":
        ee("invalid", l), r = s = c = null;
        for (y in u)
          if (u.hasOwnProperty(y) && (g = u[y], g != null))
            switch (y) {
              case "value":
                c = g;
                break;
              case "defaultValue":
                s = g;
                break;
              case "children":
                r = g;
                break;
              case "dangerouslySetInnerHTML":
                if (g != null) throw Error(v(91));
                break;
              default:
                et(l, a, y, g, u, null);
            }
        Qh(l, c, s, r), Yu(l);
        return;
      case "option":
        for (A in u)
          if (u.hasOwnProperty(A) && (c = u[A], c != null))
            switch (A) {
              case "selected":
                l.selected = c && typeof c != "function" && typeof c != "symbol";
                break;
              default:
                et(l, a, A, c, u, null);
            }
        return;
      case "dialog":
        ee("beforetoggle", l), ee("toggle", l), ee("cancel", l), ee("close", l);
        break;
      case "iframe":
      case "object":
        ee("load", l);
        break;
      case "video":
      case "audio":
        for (c = 0; c < Ut.length; c++)
          ee(Ut[c], l);
        break;
      case "image":
        ee("error", l), ee("load", l);
        break;
      case "details":
        ee("toggle", l);
        break;
      case "embed":
      case "source":
      case "link":
        ee("error", l), ee("load", l);
      case "area":
      case "base":
      case "br":
      case "col":
      case "hr":
      case "keygen":
      case "meta":
      case "param":
      case "track":
      case "wbr":
      case "menuitem":
        for (z in u)
          if (u.hasOwnProperty(z) && (c = u[z], c != null))
            switch (z) {
              case "children":
              case "dangerouslySetInnerHTML":
                throw Error(v(137, a));
              default:
                et(l, a, z, c, u, null);
            }
        return;
      default:
        if (Bi(a)) {
          for (j in u)
            u.hasOwnProperty(j) && (c = u[j], c !== void 0 && Am(
              l,
              a,
              j,
              c,
              u,
              void 0
            ));
          return;
        }
    }
    for (g in u)
      u.hasOwnProperty(g) && (c = u[g], c != null && et(l, a, g, c, u, null));
  }
  function wp(l, a, u, c) {
    switch (a) {
      case "div":
      case "span":
      case "svg":
      case "path":
      case "a":
      case "g":
      case "p":
      case "li":
        break;
      case "input":
        var s = null, r = null, y = null, g = null, A = null, z = null, j = null;
        for (x in u) {
          var X = u[x];
          if (u.hasOwnProperty(x) && X != null)
            switch (x) {
              case "checked":
                break;
              case "value":
                break;
              case "defaultValue":
                A = X;
              default:
                c.hasOwnProperty(x) || et(l, a, x, null, c, X);
            }
        }
        for (var M in c) {
          var x = c[M];
          if (X = u[M], c.hasOwnProperty(M) && (x != null || X != null))
            switch (M) {
              case "type":
                r = x;
                break;
              case "name":
                s = x;
                break;
              case "checked":
                z = x;
                break;
              case "defaultChecked":
                j = x;
                break;
              case "value":
                y = x;
                break;
              case "defaultValue":
                g = x;
                break;
              case "children":
              case "dangerouslySetInnerHTML":
                if (x != null)
                  throw Error(v(137, a));
                break;
              default:
                x !== X && et(
                  l,
                  a,
                  M,
                  x,
                  c,
                  X
                );
            }
        }
        ur(
          l,
          y,
          g,
          A,
          z,
          j,
          r,
          s
        );
        return;
      case "select":
        x = y = g = M = null;
        for (r in u)
          if (A = u[r], u.hasOwnProperty(r) && A != null)
            switch (r) {
              case "value":
                break;
              case "multiple":
                x = A;
              default:
                c.hasOwnProperty(r) || et(
                  l,
                  a,
                  r,
                  null,
                  c,
                  A
                );
            }
        for (s in c)
          if (r = c[s], A = u[s], c.hasOwnProperty(s) && (r != null || A != null))
            switch (s) {
              case "value":
                M = r;
                break;
              case "defaultValue":
                g = r;
                break;
              case "multiple":
                y = r;
              default:
                r !== A && et(
                  l,
                  a,
                  s,
                  r,
                  c,
                  A
                );
            }
        a = g, u = y, c = x, M != null ? Mi(l, !!u, M, !1) : !!c != !!u && (a != null ? Mi(l, !!u, a, !0) : Mi(l, !!u, u ? [] : "", !1));
        return;
      case "textarea":
        x = M = null;
        for (g in u)
          if (s = u[g], u.hasOwnProperty(g) && s != null && !c.hasOwnProperty(g))
            switch (g) {
              case "value":
                break;
              case "children":
                break;
              default:
                et(l, a, g, null, c, s);
            }
        for (y in c)
          if (s = c[y], r = u[y], c.hasOwnProperty(y) && (s != null || r != null))
            switch (y) {
              case "value":
                M = s;
                break;
              case "defaultValue":
                x = s;
                break;
              case "children":
                break;
              case "dangerouslySetInnerHTML":
                if (s != null) throw Error(v(91));
                break;
              default:
                s !== r && et(l, a, y, s, c, r);
            }
        Hh(l, M, x);
        return;
      case "option":
        for (var me in u)
          if (M = u[me], u.hasOwnProperty(me) && M != null && !c.hasOwnProperty(me))
            switch (me) {
              case "selected":
                l.selected = !1;
                break;
              default:
                et(
                  l,
                  a,
                  me,
                  null,
                  c,
                  M
                );
            }
        for (A in c)
          if (M = c[A], x = u[A], c.hasOwnProperty(A) && M !== x && (M != null || x != null))
            switch (A) {
              case "selected":
                l.selected = M && typeof M != "function" && typeof M != "symbol";
                break;
              default:
                et(
                  l,
                  a,
                  A,
                  M,
                  c,
                  x
                );
            }
        return;
      case "img":
      case "link":
      case "area":
      case "base":
      case "br":
      case "col":
      case "embed":
      case "hr":
      case "keygen":
      case "meta":
      case "param":
      case "source":
      case "track":
      case "wbr":
      case "menuitem":
        for (var se in u)
          M = u[se], u.hasOwnProperty(se) && M != null && !c.hasOwnProperty(se) && et(l, a, se, null, c, M);
        for (z in c)
          if (M = c[z], x = u[z], c.hasOwnProperty(z) && M !== x && (M != null || x != null))
            switch (z) {
              case "children":
              case "dangerouslySetInnerHTML":
                if (M != null)
                  throw Error(v(137, a));
                break;
              default:
                et(
                  l,
                  a,
                  z,
                  M,
                  c,
                  x
                );
            }
        return;
      default:
        if (Bi(a)) {
          for (var tt in u)
            M = u[tt], u.hasOwnProperty(tt) && M !== void 0 && !c.hasOwnProperty(tt) && Am(
              l,
              a,
              tt,
              void 0,
              c,
              M
            );
          for (j in c)
            M = c[j], x = u[j], !c.hasOwnProperty(j) || M === x || M === void 0 && x === void 0 || Am(
              l,
              a,
              j,
              M,
              c,
              x
            );
          return;
        }
    }
    for (var D in u)
      M = u[D], u.hasOwnProperty(D) && M != null && !c.hasOwnProperty(D) && et(l, a, D, null, c, M);
    for (X in c)
      M = c[X], x = u[X], !c.hasOwnProperty(X) || M === x || M == null && x == null || et(l, a, X, M, c, x);
  }
  var tl = null, N = null;
  function Xe(l) {
    return l.nodeType === 9 ? l : l.ownerDocument;
  }
  function Ag(l) {
    switch (l) {
      case "http://www.w3.org/2000/svg":
        return 1;
      case "http://www.w3.org/1998/Math/MathML":
        return 2;
      default:
        return 0;
    }
  }
  function Hd(l, a) {
    if (l === 0)
      switch (a) {
        case "svg":
          return 1;
        case "math":
          return 2;
        default:
          return 0;
      }
    return l === 1 && a === "foreignObject" ? 0 : l;
  }
  function As(l, a) {
    return l === "textarea" || l === "noscript" || typeof a.children == "string" || typeof a.children == "number" || typeof a.children == "bigint" || typeof a.dangerouslySetInnerHTML == "object" && a.dangerouslySetInnerHTML !== null && a.dangerouslySetInnerHTML.__html != null;
  }
  var nn = null;
  function hi() {
    var l = window.event;
    return l && l.type === "popstate" ? l === nn ? !1 : (nn = l, !0) : (nn = null, !1);
  }
  var Yo = typeof setTimeout == "function" ? setTimeout : void 0, yi = typeof clearTimeout == "function" ? clearTimeout : void 0, Ss = typeof Promise == "function" ? Promise : void 0, bs = typeof queueMicrotask == "function" ? queueMicrotask : typeof Ss < "u" ? function(l) {
    return Ss.resolve(null).then(l).catch(Sg);
  } : Yo;
  function Sg(l) {
    setTimeout(function() {
      throw l;
    });
  }
  function vu(l) {
    return l === "head";
  }
  function Sm(l, a) {
    var u = a, c = 0, s = 0;
    do {
      var r = u.nextSibling;
      if (l.removeChild(u), r && r.nodeType === 8)
        if (u = r.data, u === "/$") {
          if (0 < c && 8 > c) {
            u = c;
            var y = l.ownerDocument;
            if (u & 1 && ia(y.documentElement), u & 2 && ia(y.body), u & 4)
              for (u = y.head, ia(u), y = u.firstChild; y; ) {
                var g = y.nextSibling, A = y.nodeName;
                y[Qu] || A === "SCRIPT" || A === "STYLE" || A === "LINK" && y.rel.toLowerCase() === "stylesheet" || u.removeChild(y), y = g;
              }
          }
          if (s === 0) {
            l.removeChild(r), qn(a);
            return;
          }
          s--;
        } else
          u === "$" || u === "$?" || u === "$!" ? s++ : c = u.charCodeAt(0) - 48;
      else c = 0;
      u = r;
    } while (u);
    qn(a);
  }
  function Qd(l) {
    var a = l.firstChild;
    for (a && a.nodeType === 10 && (a = a.nextSibling); a; ) {
      var u = a;
      switch (a = a.nextSibling, u.nodeName) {
        case "HTML":
        case "HEAD":
        case "BODY":
          Qd(u), Il(u);
          continue;
        case "SCRIPT":
        case "STYLE":
          continue;
        case "LINK":
          if (u.rel.toLowerCase() === "stylesheet") continue;
      }
      l.removeChild(u);
    }
  }
  function bg(l, a, u, c) {
    for (; l.nodeType === 1; ) {
      var s = u;
      if (l.nodeName.toLowerCase() !== a.toLowerCase()) {
        if (!c && (l.nodeName !== "INPUT" || l.type !== "hidden"))
          break;
      } else if (c) {
        if (!l[Qu])
          switch (a) {
            case "meta":
              if (!l.hasAttribute("itemprop")) break;
              return l;
            case "link":
              if (r = l.getAttribute("rel"), r === "stylesheet" && l.hasAttribute("data-precedence"))
                break;
              if (r !== s.rel || l.getAttribute("href") !== (s.href == null || s.href === "" ? null : s.href) || l.getAttribute("crossorigin") !== (s.crossOrigin == null ? null : s.crossOrigin) || l.getAttribute("title") !== (s.title == null ? null : s.title))
                break;
              return l;
            case "style":
              if (l.hasAttribute("data-precedence")) break;
              return l;
            case "script":
              if (r = l.getAttribute("src"), (r !== (s.src == null ? null : s.src) || l.getAttribute("type") !== (s.type == null ? null : s.type) || l.getAttribute("crossorigin") !== (s.crossOrigin == null ? null : s.crossOrigin)) && r && l.hasAttribute("async") && !l.hasAttribute("itemprop"))
                break;
              return l;
            default:
              return l;
          }
      } else if (a === "input" && l.type === "hidden") {
        var r = s.name == null ? null : "" + s.name;
        if (s.type === "hidden" && l.getAttribute("name") === r)
          return l;
      } else return l;
      if (l = Ba(l.nextSibling), l === null) break;
    }
    return null;
  }
  function Eg(l, a, u) {
    if (a === "") return null;
    for (; l.nodeType !== 3; )
      if ((l.nodeType !== 1 || l.nodeName !== "INPUT" || l.type !== "hidden") && !u || (l = Ba(l.nextSibling), l === null)) return null;
    return l;
  }
  function Nd(l) {
    return l.data === "$!" || l.data === "$?" && l.ownerDocument.readyState === "complete";
  }
  function bm(l, a) {
    var u = l.ownerDocument;
    if (l.data !== "$?" || u.readyState === "complete")
      a();
    else {
      var c = function() {
        a(), u.removeEventListener("DOMContentLoaded", c);
      };
      u.addEventListener("DOMContentLoaded", c), l._reactRetry = c;
    }
  }
  function Ba(l) {
    for (; l != null; l = l.nextSibling) {
      var a = l.nodeType;
      if (a === 1 || a === 3) break;
      if (a === 8) {
        if (a = l.data, a === "$" || a === "$!" || a === "$?" || a === "F!" || a === "F")
          break;
        if (a === "/$") return null;
      }
    }
    return l;
  }
  var Es = null;
  function wd(l) {
    l = l.previousSibling;
    for (var a = 0; l; ) {
      if (l.nodeType === 8) {
        var u = l.data;
        if (u === "$" || u === "$!" || u === "$?") {
          if (a === 0) return l;
          a--;
        } else u === "/$" && a++;
      }
      l = l.previousSibling;
    }
    return null;
  }
  function ua(l, a, u) {
    switch (a = Xe(u), l) {
      case "html":
        if (l = a.documentElement, !l) throw Error(v(452));
        return l;
      case "head":
        if (l = a.head, !l) throw Error(v(453));
        return l;
      case "body":
        if (l = a.body, !l) throw Error(v(454));
        return l;
      default:
        throw Error(v(451));
    }
  }
  function ia(l) {
    for (var a = l.attributes; a.length; )
      l.removeAttributeNode(a[0]);
    Il(l);
  }
  var Vt = /* @__PURE__ */ new Map(), qd = /* @__PURE__ */ new Set();
  function Yd(l) {
    return typeof l.getRootNode == "function" ? l.getRootNode() : l.nodeType === 9 ? l : l.ownerDocument;
  }
  var Au = J.d;
  J.d = {
    f: qp,
    r: wn,
    D: Em,
    C: jo,
    L: Yp,
    m: Tm,
    X: jp,
    S: Lp,
    M: Vo
  };
  function qp() {
    var l = Au.f(), a = Td();
    return l || a;
  }
  function wn(l) {
    var a = Nu(l);
    a !== null && a.tag === 5 && a.type === "form" ? Oy(a) : Au.r(l);
  }
  var Lo = typeof document > "u" ? null : document;
  function Ld(l, a, u) {
    var c = Lo;
    if (c && typeof a == "string" && a) {
      var s = Ca(a);
      s = 'link[rel="' + l + '"][href="' + s + '"]', typeof u == "string" && (s += '[crossorigin="' + u + '"]'), qd.has(s) || (qd.add(s), l = { rel: l, crossOrigin: u, href: a }, c.querySelector(s) === null && (a = c.createElement("link"), sl(a, "link", l), Wt(a), c.head.appendChild(a)));
    }
  }
  function Em(l) {
    Au.D(l), Ld("dns-prefetch", l, null);
  }
  function jo(l, a) {
    Au.C(l, a), Ld("preconnect", l, a);
  }
  function Yp(l, a, u) {
    Au.L(l, a, u);
    var c = Lo;
    if (c && l && a) {
      var s = 'link[rel="preload"][as="' + Ca(a) + '"]';
      a === "image" && u && u.imageSrcSet ? (s += '[imagesrcset="' + Ca(
        u.imageSrcSet
      ) + '"]', typeof u.imageSizes == "string" && (s += '[imagesizes="' + Ca(
        u.imageSizes
      ) + '"]')) : s += '[href="' + Ca(l) + '"]';
      var r = s;
      switch (a) {
        case "style":
          r = P(l);
          break;
        case "script":
          r = Go(l);
      }
      Vt.has(r) || (l = re(
        {
          rel: "preload",
          href: a === "image" && u && u.imageSrcSet ? void 0 : l,
          as: a
        },
        u
      ), Vt.set(r, l), c.querySelector(s) !== null || a === "style" && c.querySelector(ca(r)) || a === "script" && c.querySelector(Ts(r)) || (a = c.createElement("link"), sl(a, "link", l), Wt(a), c.head.appendChild(a)));
    }
  }
  function Tm(l, a) {
    Au.m(l, a);
    var u = Lo;
    if (u && l) {
      var c = a && typeof a.as == "string" ? a.as : "script", s = 'link[rel="modulepreload"][as="' + Ca(c) + '"][href="' + Ca(l) + '"]', r = s;
      switch (c) {
        case "audioworklet":
        case "paintworklet":
        case "serviceworker":
        case "sharedworker":
        case "worker":
        case "script":
          r = Go(l);
      }
      if (!Vt.has(r) && (l = re({ rel: "modulepreload", href: l }, a), Vt.set(r, l), u.querySelector(s) === null)) {
        switch (c) {
          case "audioworklet":
          case "paintworklet":
          case "serviceworker":
          case "sharedworker":
          case "worker":
          case "script":
            if (u.querySelector(Ts(r)))
              return;
        }
        c = u.createElement("link"), sl(c, "link", l), Wt(c), u.head.appendChild(c);
      }
    }
  }
  function Lp(l, a, u) {
    Au.S(l, a, u);
    var c = Lo;
    if (c && l) {
      var s = wu(c).hoistableStyles, r = P(l);
      a = a || "default";
      var y = s.get(r);
      if (!y) {
        var g = { loading: 0, preload: null };
        if (y = c.querySelector(
          ca(r)
        ))
          g.loading = 5;
        else {
          l = re(
            { rel: "stylesheet", href: l, "data-precedence": a },
            u
          ), (u = Vt.get(r)) && oa(l, u);
          var A = y = c.createElement("link");
          Wt(A), sl(A, "link", l), A._p = new Promise(function(z, j) {
            A.onload = z, A.onerror = j;
          }), A.addEventListener("load", function() {
            g.loading |= 1;
          }), A.addEventListener("error", function() {
            g.loading |= 2;
          }), g.loading |= 4, Cc(y, a, c);
        }
        y = {
          type: "stylesheet",
          instance: y,
          count: 1,
          state: g
        }, s.set(r, y);
      }
    }
  }
  function jp(l, a) {
    Au.X(l, a);
    var u = Lo;
    if (u && l) {
      var c = wu(u).hoistableScripts, s = Go(l), r = c.get(s);
      r || (r = u.querySelector(Ts(s)), r || (l = re({ src: l, async: !0 }, a), (a = Vt.get(s)) && Ha(l, a), r = u.createElement("script"), Wt(r), sl(r, "link", l), u.head.appendChild(r)), r = {
        type: "script",
        instance: r,
        count: 1,
        state: null
      }, c.set(s, r));
    }
  }
  function Vo(l, a) {
    Au.M(l, a);
    var u = Lo;
    if (u && l) {
      var c = wu(u).hoistableScripts, s = Go(l), r = c.get(s);
      r || (r = u.querySelector(Ts(s)), r || (l = re({ src: l, async: !0, type: "module" }, a), (a = Vt.get(s)) && Ha(l, a), r = u.createElement("script"), Wt(r), sl(r, "link", l), u.head.appendChild(r)), r = {
        type: "script",
        instance: r,
        count: 1,
        state: null
      }, c.set(s, r));
    }
  }
  function bl(l, a, u, c) {
    var s = (s = sa.current) ? Yd(s) : null;
    if (!s) throw Error(v(446));
    switch (l) {
      case "meta":
      case "title":
        return null;
      case "style":
        return typeof u.precedence == "string" && typeof u.href == "string" ? (a = P(u.href), u = wu(
          s
        ).hoistableStyles, c = u.get(a), c || (c = {
          type: "style",
          instance: null,
          count: 0,
          state: null
        }, u.set(a, c)), c) : { type: "void", instance: null, count: 0, state: null };
      case "link":
        if (u.rel === "stylesheet" && typeof u.href == "string" && typeof u.precedence == "string") {
          l = P(u.href);
          var r = wu(
            s
          ).hoistableStyles, y = r.get(l);
          if (y || (s = s.ownerDocument || s, y = {
            type: "stylesheet",
            instance: null,
            count: 0,
            state: { loading: 0, preload: null }
          }, r.set(l, y), (r = s.querySelector(
            ca(l)
          )) && !r._p && (y.instance = r, y.state.loading = 5), Vt.has(l) || (u = {
            rel: "preload",
            as: "style",
            href: u.href,
            crossOrigin: u.crossOrigin,
            integrity: u.integrity,
            media: u.media,
            hrefLang: u.hrefLang,
            referrerPolicy: u.referrerPolicy
          }, Vt.set(l, u), r || Jl(
            s,
            l,
            u,
            y.state
          ))), a && c === null)
            throw Error(v(528, ""));
          return y;
        }
        if (a && c !== null)
          throw Error(v(529, ""));
        return null;
      case "script":
        return a = u.async, u = u.src, typeof u == "string" && a && typeof a != "function" && typeof a != "symbol" ? (a = Go(u), u = wu(
          s
        ).hoistableScripts, c = u.get(a), c || (c = {
          type: "script",
          instance: null,
          count: 0,
          state: null
        }, u.set(a, c)), c) : { type: "void", instance: null, count: 0, state: null };
      default:
        throw Error(v(444, l));
    }
  }
  function P(l) {
    return 'href="' + Ca(l) + '"';
  }
  function ca(l) {
    return 'link[rel="stylesheet"][' + l + "]";
  }
  function xa(l) {
    return re({}, l, {
      "data-precedence": l.precedence,
      precedence: null
    });
  }
  function Jl(l, a, u, c) {
    l.querySelector('link[rel="preload"][as="style"][' + a + "]") ? c.loading = 1 : (a = l.createElement("link"), c.preload = a, a.addEventListener("load", function() {
      return c.loading |= 1;
    }), a.addEventListener("error", function() {
      return c.loading |= 2;
    }), sl(a, "link", u), Wt(a), l.head.appendChild(a));
  }
  function Go(l) {
    return '[src="' + Ca(l) + '"]';
  }
  function Ts(l) {
    return "script[async]" + l;
  }
  function Cs(l, a, u) {
    if (a.count++, a.instance === null)
      switch (a.type) {
        case "style":
          var c = l.querySelector(
            'style[data-href~="' + Ca(u.href) + '"]'
          );
          if (c)
            return a.instance = c, Wt(c), c;
          var s = re({}, u, {
            "data-href": u.href,
            "data-precedence": u.precedence,
            href: null,
            precedence: null
          });
          return c = (l.ownerDocument || l).createElement(
            "style"
          ), Wt(c), sl(c, "style", s), Cc(c, u.precedence, l), a.instance = c;
        case "stylesheet":
          s = P(u.href);
          var r = l.querySelector(
            ca(s)
          );
          if (r)
            return a.state.loading |= 4, a.instance = r, Wt(r), r;
          c = xa(u), (s = Vt.get(s)) && oa(c, s), r = (l.ownerDocument || l).createElement("link"), Wt(r);
          var y = r;
          return y._p = new Promise(function(g, A) {
            y.onload = g, y.onerror = A;
          }), sl(r, "link", c), a.state.loading |= 4, Cc(r, u.precedence, l), a.instance = r;
        case "script":
          return r = Go(u.src), (s = l.querySelector(
            Ts(r)
          )) ? (a.instance = s, Wt(s), s) : (c = u, (s = Vt.get(r)) && (c = re({}, u), Ha(c, s)), l = l.ownerDocument || l, s = l.createElement("script"), Wt(s), sl(s, "link", c), l.head.appendChild(s), a.instance = s);
        case "void":
          return null;
        default:
          throw Error(v(443, a.type));
      }
    else
      a.type === "stylesheet" && (a.state.loading & 4) === 0 && (c = a.instance, a.state.loading |= 4, Cc(c, u.precedence, l));
    return a.instance;
  }
  function Cc(l, a, u) {
    for (var c = u.querySelectorAll(
      'link[rel="stylesheet"][data-precedence],style[data-precedence]'
    ), s = c.length ? c[c.length - 1] : null, r = s, y = 0; y < c.length; y++) {
      var g = c[y];
      if (g.dataset.precedence === a) r = g;
      else if (r !== s) break;
    }
    r ? r.parentNode.insertBefore(l, r.nextSibling) : (a = u.nodeType === 9 ? u.head : u, a.insertBefore(l, a.firstChild));
  }
  function oa(l, a) {
    l.crossOrigin == null && (l.crossOrigin = a.crossOrigin), l.referrerPolicy == null && (l.referrerPolicy = a.referrerPolicy), l.title == null && (l.title = a.title);
  }
  function Ha(l, a) {
    l.crossOrigin == null && (l.crossOrigin = a.crossOrigin), l.referrerPolicy == null && (l.referrerPolicy = a.referrerPolicy), l.integrity == null && (l.integrity = a.integrity);
  }
  var Qa = null;
  function Rs(l, a, u) {
    if (Qa === null) {
      var c = /* @__PURE__ */ new Map(), s = Qa = /* @__PURE__ */ new Map();
      s.set(u, c);
    } else
      s = Qa, c = s.get(u), c || (c = /* @__PURE__ */ new Map(), s.set(u, c));
    if (c.has(l)) return c;
    for (c.set(l, null), u = u.getElementsByTagName(l), s = 0; s < u.length; s++) {
      var r = u[s];
      if (!(r[Qu] || r[Kt] || l === "link" && r.getAttribute("rel") === "stylesheet") && r.namespaceURI !== "http://www.w3.org/2000/svg") {
        var y = r.getAttribute(a) || "";
        y = l + y;
        var g = c.get(y);
        g ? g.push(r) : c.set(y, [r]);
      }
    }
    return c;
  }
  function Su(l, a, u) {
    l = l.ownerDocument || l, l.head.insertBefore(
      u,
      a === "title" ? l.querySelector("head > title") : null
    );
  }
  function Ql(l, a, u) {
    if (u === 1 || a.itemProp != null) return !1;
    switch (l) {
      case "meta":
      case "title":
        return !0;
      case "style":
        if (typeof a.precedence != "string" || typeof a.href != "string" || a.href === "")
          break;
        return !0;
      case "link":
        if (typeof a.rel != "string" || typeof a.href != "string" || a.href === "" || a.onLoad || a.onError)
          break;
        switch (a.rel) {
          case "stylesheet":
            return l = a.disabled, typeof a.precedence == "string" && l == null;
          default:
            return !0;
        }
      case "script":
        if (a.async && typeof a.async != "function" && typeof a.async != "symbol" && !a.onLoad && !a.onError && a.src && typeof a.src == "string")
          return !0;
    }
    return !1;
  }
  function Nl(l) {
    return !(l.type === "stylesheet" && (l.state.loading & 3) === 0);
  }
  var Na = null;
  function Cm() {
  }
  function Vp(l, a, u) {
    if (Na === null) throw Error(v(475));
    var c = Na;
    if (a.type === "stylesheet" && (typeof u.media != "string" || matchMedia(u.media).matches !== !1) && (a.state.loading & 4) === 0) {
      if (a.instance === null) {
        var s = P(u.href), r = l.querySelector(
          ca(s)
        );
        if (r) {
          l = r._p, l !== null && typeof l == "object" && typeof l.then == "function" && (c.count++, c = Ds.bind(c), l.then(c, c)), a.state.loading |= 4, a.instance = r, Wt(r);
          return;
        }
        r = l.ownerDocument || l, u = xa(u), (s = Vt.get(s)) && oa(u, s), r = r.createElement("link"), Wt(r);
        var y = r;
        y._p = new Promise(function(g, A) {
          y.onload = g, y.onerror = A;
        }), sl(r, "link", u), a.instance = r;
      }
      c.stylesheets === null && (c.stylesheets = /* @__PURE__ */ new Map()), c.stylesheets.set(a, l), (l = a.state.preload) && (a.state.loading & 3) === 0 && (c.count++, a = Ds.bind(c), l.addEventListener("load", a), l.addEventListener("error", a));
    }
  }
  function Gp() {
    if (Na === null) throw Error(v(475));
    var l = Na;
    return l.stylesheets && l.count === 0 && jd(l, l.stylesheets), 0 < l.count ? function(a) {
      var u = setTimeout(function() {
        if (l.stylesheets && jd(l, l.stylesheets), l.unsuspend) {
          var c = l.unsuspend;
          l.unsuspend = null, c();
        }
      }, 6e4);
      return l.unsuspend = a, function() {
        l.unsuspend = null, clearTimeout(u);
      };
    } : null;
  }
  function Ds() {
    if (this.count--, this.count === 0) {
      if (this.stylesheets) jd(this, this.stylesheets);
      else if (this.unsuspend) {
        var l = this.unsuspend;
        this.unsuspend = null, l();
      }
    }
  }
  var mi = null;
  function jd(l, a) {
    l.stylesheets = null, l.unsuspend !== null && (l.count++, mi = /* @__PURE__ */ new Map(), a.forEach(Rc, l), mi = null, Ds.call(l));
  }
  function Rc(l, a) {
    if (!(a.state.loading & 4)) {
      var u = mi.get(l);
      if (u) var c = u.get(null);
      else {
        u = /* @__PURE__ */ new Map(), mi.set(l, u);
        for (var s = l.querySelectorAll(
          "link[data-precedence],style[data-precedence]"
        ), r = 0; r < s.length; r++) {
          var y = s[r];
          (y.nodeName === "LINK" || y.getAttribute("media") !== "not all") && (u.set(y.dataset.precedence, y), c = y);
        }
        c && u.set(null, c);
      }
      s = a.instance, y = s.getAttribute("data-precedence"), r = u.get(y) || c, r === c && u.set(null, s), u.set(y, s), this.count++, c = Ds.bind(this), s.addEventListener("load", c), s.addEventListener("error", c), r ? r.parentNode.insertBefore(s, r.nextSibling) : (l = l.nodeType === 9 ? l.head : l, l.insertBefore(s, l.firstChild)), a.state.loading |= 4;
    }
  }
  var Dc = {
    $$typeof: it,
    Provider: null,
    Consumer: null,
    _currentValue: W,
    _currentValue2: W,
    _threadCount: 0
  };
  function Zp(l, a, u, c, s, r, y, g) {
    this.tag = 1, this.containerInfo = l, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = rn(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = rn(0), this.hiddenUpdates = rn(null), this.identifierPrefix = c, this.onUncaughtError = s, this.onCaughtError = r, this.onRecoverableError = y, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = g, this.incompleteTransitions = /* @__PURE__ */ new Map();
  }
  function Tg(l, a, u, c, s, r, y, g, A, z, j, X) {
    return l = new Zp(
      l,
      a,
      u,
      y,
      g,
      A,
      z,
      X
    ), a = 1, r === !0 && (a |= 24), r = jl(3, null, null, a), l.current = r, r.stateNode = l, a = Hf(), a.refCount++, l.pooledCache = a, a.refCount++, r.memoizedState = {
      element: c,
      isDehydrated: u,
      cache: a
    }, po(r), l;
  }
  function Rm(l) {
    return l ? (l = Wi, l) : Wi;
  }
  function Dm(l, a, u, c, s, r) {
    s = Rm(s), c.context === null ? c.context = s : c.pendingContext = s, c = bn(a), c.payload = { element: u }, r = r === void 0 ? null : r, r !== null && (c.callback = r), u = fu(l, c, a), u !== null && (na(u, l, a), vo(u, l, a));
  }
  function Cg(l, a) {
    if (l = l.memoizedState, l !== null && l.dehydrated !== null) {
      var u = l.retryLane;
      l.retryLane = u !== 0 && u < a ? u : a;
    }
  }
  function Vd(l, a) {
    Cg(l, a), (l = l.alternate) && Cg(l, a);
  }
  function Om(l) {
    if (l.tag === 13) {
      var a = au(l, 67108864);
      a !== null && na(a, l, 67108864), Vd(l, 67108864);
    }
  }
  var Os = !0;
  function Rg(l, a, u, c) {
    var s = R.T;
    R.T = null;
    var r = J.p;
    try {
      J.p = 2, Gd(l, a, u, c);
    } finally {
      J.p = r, R.T = s;
    }
  }
  function Dg(l, a, u, c) {
    var s = R.T;
    R.T = null;
    var r = J.p;
    try {
      J.p = 8, Gd(l, a, u, c);
    } finally {
      J.p = r, R.T = s;
    }
  }
  function Gd(l, a, u, c) {
    if (Os) {
      var s = Zd(c);
      if (s === null)
        qo(
          l,
          a,
          c,
          zs,
          u
        ), Ug(l, c);
      else if (Xp(
        s,
        l,
        a,
        u,
        c
      ))
        c.stopPropagation();
      else if (Ug(l, c), a & 4 && -1 < zg.indexOf(l)) {
        for (; s !== null; ) {
          var r = Nu(s);
          if (r !== null)
            switch (r.tag) {
              case 3:
                if (r = r.stateNode, r.current.memoizedState.isDehydrated) {
                  var y = Mu(r.pendingLanes);
                  if (y !== 0) {
                    var g = r;
                    for (g.pendingLanes |= 2, g.entangledLanes |= 2; y; ) {
                      var A = 1 << 31 - hl(y);
                      g.entanglements[1] |= A, y &= ~A;
                    }
                    Ma(r), (Be & 6) === 0 && (bd = Ya() + 500, Sc(0));
                  }
                }
                break;
              case 13:
                g = au(r, 2), g !== null && na(g, r, 2), Td(), Vd(r, 2);
            }
          if (r = Zd(c), r === null && qo(
            l,
            a,
            c,
            zs,
            u
          ), r === s) break;
          s = r;
        }
        s !== null && c.stopPropagation();
      } else
        qo(
          l,
          a,
          c,
          null,
          u
        );
    }
  }
  function Zd(l) {
    return l = or(l), Xd(l);
  }
  var zs = null;
  function Xd(l) {
    if (zs = null, l = Di(l), l !== null) {
      var a = I(l);
      if (a === null) l = null;
      else {
        var u = a.tag;
        if (u === 13) {
          if (l = le(a), l !== null) return l;
          l = null;
        } else if (u === 3) {
          if (a.stateNode.current.memoizedState.isDehydrated)
            return a.tag === 3 ? a.stateNode.containerInfo : null;
          l = null;
        } else a !== l && (l = null);
      }
    }
    return zs = l, null;
  }
  function Og(l) {
    switch (l) {
      case "beforetoggle":
      case "cancel":
      case "click":
      case "close":
      case "contextmenu":
      case "copy":
      case "cut":
      case "auxclick":
      case "dblclick":
      case "dragend":
      case "dragstart":
      case "drop":
      case "focusin":
      case "focusout":
      case "input":
      case "invalid":
      case "keydown":
      case "keypress":
      case "keyup":
      case "mousedown":
      case "mouseup":
      case "paste":
      case "pause":
      case "play":
      case "pointercancel":
      case "pointerdown":
      case "pointerup":
      case "ratechange":
      case "reset":
      case "resize":
      case "seeked":
      case "submit":
      case "toggle":
      case "touchcancel":
      case "touchend":
      case "touchstart":
      case "volumechange":
      case "change":
      case "selectionchange":
      case "textInput":
      case "compositionstart":
      case "compositionend":
      case "compositionupdate":
      case "beforeblur":
      case "afterblur":
      case "beforeinput":
      case "blur":
      case "fullscreenchange":
      case "focus":
      case "hashchange":
      case "popstate":
      case "select":
      case "selectstart":
        return 2;
      case "drag":
      case "dragenter":
      case "dragexit":
      case "dragleave":
      case "dragover":
      case "mousemove":
      case "mouseout":
      case "mouseover":
      case "pointermove":
      case "pointerout":
      case "pointerover":
      case "scroll":
      case "touchmove":
      case "wheel":
      case "mouseenter":
      case "mouseleave":
      case "pointerenter":
      case "pointerleave":
        return 8;
      case "message":
        switch (A0()) {
          case Kc:
            return 2;
          case S0:
            return 8;
          case er:
          case Ci:
            return 32;
          case of:
            return 268435456;
          default:
            return 32;
        }
      default:
        return 32;
    }
  }
  var Jd = !1, gi = null, pi = null, bu = null, vi = /* @__PURE__ */ new Map(), Oc = /* @__PURE__ */ new Map(), Eu = [], zg = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
    " "
  );
  function Ug(l, a) {
    switch (l) {
      case "focusin":
      case "focusout":
        gi = null;
        break;
      case "dragenter":
      case "dragleave":
        pi = null;
        break;
      case "mouseover":
      case "mouseout":
        bu = null;
        break;
      case "pointerover":
      case "pointerout":
        vi.delete(a.pointerId);
        break;
      case "gotpointercapture":
      case "lostpointercapture":
        Oc.delete(a.pointerId);
    }
  }
  function Us(l, a, u, c, s, r) {
    return l === null || l.nativeEvent !== r ? (l = {
      blockedOn: a,
      domEventName: u,
      eventSystemFlags: c,
      nativeEvent: r,
      targetContainers: [s]
    }, a !== null && (a = Nu(a), a !== null && Om(a)), l) : (l.eventSystemFlags |= c, a = l.targetContainers, s !== null && a.indexOf(s) === -1 && a.push(s), l);
  }
  function Xp(l, a, u, c, s) {
    switch (a) {
      case "focusin":
        return gi = Us(
          gi,
          l,
          a,
          u,
          c,
          s
        ), !0;
      case "dragenter":
        return pi = Us(
          pi,
          l,
          a,
          u,
          c,
          s
        ), !0;
      case "mouseover":
        return bu = Us(
          bu,
          l,
          a,
          u,
          c,
          s
        ), !0;
      case "pointerover":
        var r = s.pointerId;
        return vi.set(
          r,
          Us(
            vi.get(r) || null,
            l,
            a,
            u,
            c,
            s
          )
        ), !0;
      case "gotpointercapture":
        return r = s.pointerId, Oc.set(
          r,
          Us(
            Oc.get(r) || null,
            l,
            a,
            u,
            c,
            s
          )
        ), !0;
    }
    return !1;
  }
  function zm(l) {
    var a = Di(l.target);
    if (a !== null) {
      var u = I(a);
      if (u !== null) {
        if (a = u.tag, a === 13) {
          if (a = le(u), a !== null) {
            l.blockedOn = a, T0(l.priority, function() {
              if (u.tag === 13) {
                var c = aa();
                c = xu(c);
                var s = au(u, c);
                s !== null && na(s, u, c), Vd(u, c);
              }
            });
            return;
          }
        } else if (a === 3 && u.stateNode.current.memoizedState.isDehydrated) {
          l.blockedOn = u.tag === 3 ? u.stateNode.containerInfo : null;
          return;
        }
      }
    }
    l.blockedOn = null;
  }
  function Tu(l) {
    if (l.blockedOn !== null) return !1;
    for (var a = l.targetContainers; 0 < a.length; ) {
      var u = Zd(l.nativeEvent);
      if (u === null) {
        u = l.nativeEvent;
        var c = new u.constructor(
          u.type,
          u
        );
        xi = c, u.target.dispatchEvent(c), xi = null;
      } else
        return a = Nu(u), a !== null && Om(a), l.blockedOn = u, !1;
      a.shift();
    }
    return !0;
  }
  function kd(l, a, u) {
    Tu(l) && u.delete(a);
  }
  function Mg() {
    Jd = !1, gi !== null && Tu(gi) && (gi = null), pi !== null && Tu(pi) && (pi = null), bu !== null && Tu(bu) && (bu = null), vi.forEach(kd), Oc.forEach(kd);
  }
  function Ms(l, a) {
    l.blockedOn === a && (l.blockedOn = null, Jd || (Jd = !0, V.unstable_scheduleCallback(
      V.unstable_NormalPriority,
      Mg
    )));
  }
  var Bs = null;
  function xs(l) {
    Bs !== l && (Bs = l, V.unstable_scheduleCallback(
      V.unstable_NormalPriority,
      function() {
        Bs === l && (Bs = null);
        for (var a = 0; a < l.length; a += 3) {
          var u = l[a], c = l[a + 1], s = l[a + 2];
          if (typeof c != "function") {
            if (Xd(c || u) === null)
              continue;
            break;
          }
          var r = Nu(u);
          r !== null && (l.splice(a, 3), a -= 3, Ir(
            r,
            {
              pending: !0,
              data: s,
              method: u.method,
              action: c
            },
            c,
            s
          ));
        }
      }
    ));
  }
  function qn(l) {
    function a(A) {
      return Ms(A, l);
    }
    gi !== null && Ms(gi, l), pi !== null && Ms(pi, l), bu !== null && Ms(bu, l), vi.forEach(a), Oc.forEach(a);
    for (var u = 0; u < Eu.length; u++) {
      var c = Eu[u];
      c.blockedOn === l && (c.blockedOn = null);
    }
    for (; 0 < Eu.length && (u = Eu[0], u.blockedOn === null); )
      zm(u), u.blockedOn === null && Eu.shift();
    if (u = (l.ownerDocument || l).$$reactFormReplay, u != null)
      for (c = 0; c < u.length; c += 3) {
        var s = u[c], r = u[c + 1], y = s[xt] || null;
        if (typeof r == "function")
          y || xs(u);
        else if (y) {
          var g = null;
          if (r && r.hasAttribute("formAction")) {
            if (s = r, y = r[xt] || null)
              g = y.formAction;
            else if (Xd(s) !== null) continue;
          } else g = y.action;
          typeof g == "function" ? u[c + 1] = g : (u.splice(c, 3), c -= 3), xs(u);
        }
      }
  }
  function Um(l) {
    this._internalRoot = l;
  }
  zc.prototype.render = Um.prototype.render = function(l) {
    var a = this._internalRoot;
    if (a === null) throw Error(v(409));
    var u = a.current, c = aa();
    Dm(u, c, l, a, null, null);
  }, zc.prototype.unmount = Um.prototype.unmount = function() {
    var l = this._internalRoot;
    if (l !== null) {
      this._internalRoot = null;
      var a = l.containerInfo;
      Dm(l.current, 2, null, l, null, null), Td(), a[yl] = null;
    }
  };
  function zc(l) {
    this._internalRoot = l;
  }
  zc.prototype.unstable_scheduleHydration = function(l) {
    if (l) {
      var a = lr();
      l = { blockedOn: null, target: l, priority: a };
      for (var u = 0; u < Eu.length && a !== 0 && a < Eu[u].priority; u++) ;
      Eu.splice(u, 0, l), u === 0 && zm(l);
    }
  };
  var Mm = C.version;
  if (Mm !== "19.2.0-canary-3fbfb9ba-20250409")
    throw Error(
      v(
        527,
        Mm,
        "19.2.0-canary-3fbfb9ba-20250409"
      )
    );
  J.findDOMNode = function(l) {
    var a = l._reactInternals;
    if (a === void 0)
      throw typeof l.render == "function" ? Error(v(188)) : (l = Object.keys(l).join(","), Error(v(268, l)));
    return l = Ee(a), l = l !== null ? Ze(l) : null, l = l === null ? null : l.stateNode, l;
  };
  var Zo = {
    bundleType: 0,
    version: "19.2.0-canary-3fbfb9ba-20250409",
    rendererPackageName: "react-dom",
    currentDispatcherRef: R,
    reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
  };
  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
    var Kd = __REACT_DEVTOOLS_GLOBAL_HOOK__;
    if (!Kd.isDisabled && Kd.supportsFiber)
      try {
        Wc = Kd.inject(
          Zo
        ), Wl = Kd;
      } catch {
      }
  }
  return h0.createRoot = function(l, a) {
    if (!k(l)) throw Error(v(299));
    var u = !1, c = "", s = Uo, r = sc, y = xy, g = null;
    return a != null && (a.unstable_strictMode === !0 && (u = !0), a.identifierPrefix !== void 0 && (c = a.identifierPrefix), a.onUncaughtError !== void 0 && (s = a.onUncaughtError), a.onCaughtError !== void 0 && (r = a.onCaughtError), a.onRecoverableError !== void 0 && (y = a.onRecoverableError), a.unstable_transitionCallbacks !== void 0 && (g = a.unstable_transitionCallbacks)), a = Tg(
      l,
      1,
      !1,
      null,
      null,
      u,
      c,
      s,
      r,
      y,
      g,
      null
    ), l[yl] = a.current, ri(l), new Um(a);
  }, h0.hydrateRoot = function(l, a, u) {
    if (!k(l)) throw Error(v(299));
    var c = !1, s = "", r = Uo, y = sc, g = xy, A = null, z = null;
    return u != null && (u.unstable_strictMode === !0 && (c = !0), u.identifierPrefix !== void 0 && (s = u.identifierPrefix), u.onUncaughtError !== void 0 && (r = u.onUncaughtError), u.onCaughtError !== void 0 && (y = u.onCaughtError), u.onRecoverableError !== void 0 && (g = u.onRecoverableError), u.unstable_transitionCallbacks !== void 0 && (A = u.unstable_transitionCallbacks), u.formState !== void 0 && (z = u.formState)), a = Tg(
      l,
      1,
      !0,
      a,
      u ?? null,
      c,
      s,
      r,
      y,
      g,
      A,
      z
    ), a.context = Rm(null), u = a.current, c = aa(), c = xu(c), s = bn(c), s.callback = null, fu(u, s, c), u = c, a.current.lanes = u, _n(a, u), Ma(a), l[yl] = a.current, ri(l), new zc(a);
  }, h0.version = "19.2.0-canary-3fbfb9ba-20250409", h0;
}
var y0 = {};
/**
 * @license React
 * react-dom-client.development.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
var eS;
function Yb() {
  return eS || (eS = 1, process.env.NODE_ENV !== "production" && function() {
    function V(e, t) {
      for (e = e.memoizedState; e !== null && 0 < t; )
        e = e.next, t--;
      return e;
    }
    function C(e, t, n, i) {
      if (n >= t.length) return i;
      var o = t[n], f = tl(e) ? e.slice() : ee({}, e);
      return f[o] = C(e[o], t, n + 1, i), f;
    }
    function U(e, t, n) {
      if (t.length !== n.length)
        console.warn("copyWithRename() expects paths of the same length");
      else {
        for (var i = 0; i < n.length - 1; i++)
          if (t[i] !== n[i]) {
            console.warn(
              "copyWithRename() expects paths to be the same except for the deepest key"
            );
            return;
          }
        return v(e, t, n, 0);
      }
    }
    function v(e, t, n, i) {
      var o = t[i], f = tl(e) ? e.slice() : ee({}, e);
      return i + 1 === t.length ? (f[n[i]] = f[o], tl(f) ? f.splice(o, 1) : delete f[o]) : f[o] = v(
        e[o],
        t,
        n,
        i + 1
      ), f;
    }
    function k(e, t, n) {
      var i = t[n], o = tl(e) ? e.slice() : ee({}, e);
      return n + 1 === t.length ? (tl(o) ? o.splice(i, 1) : delete o[i], o) : (o[i] = k(e[i], t, n + 1), o);
    }
    function I() {
      return !1;
    }
    function le() {
      return null;
    }
    function Z() {
      console.error(
        "Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://react.dev/link/rules-of-hooks"
      );
    }
    function Ee() {
      console.error(
        "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
      );
    }
    function Ze() {
    }
    function re() {
    }
    function He(e) {
      var t = [];
      return e.forEach(function(n) {
        t.push(n);
      }), t.sort().join(", ");
    }
    function ye(e, t, n, i) {
      return new Sf(e, t, n, i);
    }
    function Je(e, t) {
      e.context === Xo && (sm(e.current, 2, t, e, null, null), ai());
    }
    function We(e, t) {
      if (Ln !== null) {
        var n = t.staleFamilies;
        t = t.updatedFamilies, as(), Af(
          e.current,
          t,
          n
        ), ai();
      }
    }
    function ht(e) {
      Ln = e;
    }
    function de(e) {
      return !(!e || e.nodeType !== 1 && e.nodeType !== 9 && e.nodeType !== 11);
    }
    function be(e) {
      var t = e, n = e;
      if (e.alternate) for (; t.return; ) t = t.return;
      else {
        e = t;
        do
          t = e, (t.flags & 4098) !== 0 && (n = t.return), e = t.return;
        while (e);
      }
      return t.tag === 3 ? n : null;
    }
    function Ie(e) {
      if (e.tag === 13) {
        var t = e.memoizedState;
        if (t === null && (e = e.alternate, e !== null && (t = e.memoizedState)), t !== null) return t.dehydrated;
      }
      return null;
    }
    function it(e) {
      if (be(e) !== e)
        throw Error("Unable to find node on an unmounted component.");
    }
    function Rt(e) {
      var t = e.alternate;
      if (!t) {
        if (t = be(e), t === null)
          throw Error("Unable to find node on an unmounted component.");
        return t !== e ? null : e;
      }
      for (var n = e, i = t; ; ) {
        var o = n.return;
        if (o === null) break;
        var f = o.alternate;
        if (f === null) {
          if (i = o.return, i !== null) {
            n = i;
            continue;
          }
          break;
        }
        if (o.child === f.child) {
          for (f = o.child; f; ) {
            if (f === n) return it(o), e;
            if (f === i) return it(o), t;
            f = f.sibling;
          }
          throw Error("Unable to find node on an unmounted component.");
        }
        if (n.return !== i.return) n = o, i = f;
        else {
          for (var d = !1, h = o.child; h; ) {
            if (h === n) {
              d = !0, n = o, i = f;
              break;
            }
            if (h === i) {
              d = !0, i = o, n = f;
              break;
            }
            h = h.sibling;
          }
          if (!d) {
            for (h = f.child; h; ) {
              if (h === n) {
                d = !0, n = f, i = o;
                break;
              }
              if (h === i) {
                d = !0, i = f, n = o;
                break;
              }
              h = h.sibling;
            }
            if (!d)
              throw Error(
                "Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue."
              );
          }
        }
        if (n.alternate !== i)
          throw Error(
            "Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue."
          );
      }
      if (n.tag !== 3)
        throw Error("Unable to find node on an unmounted component.");
      return n.stateNode.current === n ? e : t;
    }
    function qt(e) {
      var t = e.tag;
      if (t === 5 || t === 26 || t === 27 || t === 6) return e;
      for (e = e.child; e !== null; ) {
        if (t = qt(e), t !== null) return t;
        e = e.sibling;
      }
      return null;
    }
    function F(e) {
      return e === null || typeof e != "object" ? null : (e = sl && e[sl] || e["@@iterator"], typeof e == "function" ? e : null);
    }
    function $(e) {
      if (e == null) return null;
      if (typeof e == "function")
        return e.$$typeof === wp ? null : e.displayName || e.name || null;
      if (typeof e == "string") return e;
      switch (e) {
        case Ec:
          return "Fragment";
        case Tc:
          return "Profiler";
        case qo:
          return "StrictMode";
        case vm:
          return "Suspense";
        case xd:
          return "SuspenseList";
        case et:
          return "Activity";
      }
      if (typeof e == "object")
        switch (typeof e.tag == "number" && console.error(
          "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
        ), e.$$typeof) {
          case ri:
            return "Portal";
          case an:
            return (e.displayName || "Context") + ".Provider";
          case di:
            return (e._context.displayName || "Context") + ".Consumer";
          case ps:
            var t = e.render;
            return e = e.displayName, e || (e = t.displayName || t.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
          case vs:
            return t = e.displayName || null, t !== null ? t : $(e.type) || "Memo";
          case Hl:
            t = e._payload, e = e._init;
            try {
              return $(e(t));
            } catch {
            }
        }
      return null;
    }
    function Ae(e) {
      return typeof e.tag == "number" ? te(e) : typeof e.name == "string" ? e.name : null;
    }
    function te(e) {
      var t = e.type;
      switch (e.tag) {
        case 31:
          return "Activity";
        case 24:
          return "Cache";
        case 9:
          return (t._context.displayName || "Context") + ".Consumer";
        case 10:
          return (t.displayName || "Context") + ".Provider";
        case 18:
          return "DehydratedFragment";
        case 11:
          return e = t.render, e = e.displayName || e.name || "", t.displayName || (e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef");
        case 7:
          return "Fragment";
        case 26:
        case 27:
        case 5:
          return t;
        case 4:
          return "Portal";
        case 3:
          return "Root";
        case 6:
          return "Text";
        case 16:
          return $(t);
        case 8:
          return t === qo ? "StrictMode" : "Mode";
        case 22:
          return "Offscreen";
        case 12:
          return "Profiler";
        case 21:
          return "Scope";
        case 13:
          return "Suspense";
        case 19:
          return "SuspenseList";
        case 25:
          return "TracingMarker";
        case 1:
        case 0:
        case 14:
        case 15:
          if (typeof t == "function")
            return t.displayName || t.name || null;
          if (typeof t == "string") return t;
          break;
        case 29:
          if (t = e._debugInfo, t != null) {
            for (var n = t.length - 1; 0 <= n; n--)
              if (typeof t[n].name == "string") return t[n].name;
          }
          if (e.return !== null)
            return te(e.return);
      }
      return null;
    }
    function ft(e) {
      return { current: e };
    }
    function Ye(e, t) {
      0 > nn ? console.error("Unexpected pop.") : (t !== As[nn] && console.error("Unexpected Fiber popped."), e.current = Hd[nn], Hd[nn] = null, As[nn] = null, nn--);
    }
    function Ce(e, t, n) {
      nn++, Hd[nn] = e.current, As[nn] = n, e.current = t;
    }
    function nl(e) {
      return e === null && console.error(
        "Expected host context to exist. This error is likely caused by a bug in React. Please file an issue."
      ), e;
    }
    function Yl(e, t) {
      Ce(yi, t, e), Ce(Yo, e, e), Ce(hi, null, e);
      var n = t.nodeType;
      switch (n) {
        case 9:
        case 11:
          n = n === 9 ? "#document" : "#fragment", t = (t = t.documentElement) && (t = t.namespaceURI) ? Sd(t) : jc;
          break;
        default:
          if (n = t.tagName, t = t.namespaceURI)
            t = Sd(t), t = Qn(
              t,
              n
            );
          else
            switch (n) {
              case "svg":
                t = Eh;
                break;
              case "math":
                t = op;
                break;
              default:
                t = jc;
            }
      }
      n = n.toLowerCase(), n = Hh(null, n), n = {
        context: t,
        ancestorInfo: n
      }, Ye(hi, e), Ce(hi, n, e);
    }
    function Jt(e) {
      Ye(hi, e), Ye(Yo, e), Ye(yi, e);
    }
    function R() {
      return nl(hi.current);
    }
    function J(e) {
      e.memoizedState !== null && Ce(Ss, e, e);
      var t = nl(hi.current), n = e.type, i = Qn(t.context, n);
      n = Hh(t.ancestorInfo, n), i = { context: i, ancestorInfo: n }, t !== i && (Ce(Yo, e, e), Ce(hi, i, e));
    }
    function W(e) {
      Yo.current === e && (Ye(hi, e), Ye(Yo, e)), Ss.current === e && (Ye(Ss, e), c0._currentValue = Is);
    }
    function ge() {
    }
    function q() {
      if (bs === 0) {
        Sg = console.log, vu = console.info, Sm = console.warn, Qd = console.error, bg = console.group, Eg = console.groupCollapsed, Nd = console.groupEnd;
        var e = {
          configurable: !0,
          enumerable: !0,
          value: ge,
          writable: !0
        };
        Object.defineProperties(console, {
          info: e,
          log: e,
          warn: e,
          error: e,
          group: e,
          groupCollapsed: e,
          groupEnd: e
        });
      }
      bs++;
    }
    function oe() {
      if (bs--, bs === 0) {
        var e = { configurable: !0, enumerable: !0, writable: !0 };
        Object.defineProperties(console, {
          log: ee({}, e, { value: Sg }),
          info: ee({}, e, { value: vu }),
          warn: ee({}, e, { value: Sm }),
          error: ee({}, e, { value: Qd }),
          group: ee({}, e, { value: bg }),
          groupCollapsed: ee({}, e, { value: Eg }),
          groupEnd: ee({}, e, { value: Nd })
        });
      }
      0 > bs && console.error(
        "disabledDepth fell below zero. This is a bug in React. Please file an issue."
      );
    }
    function ce(e) {
      if (bm === void 0)
        try {
          throw Error();
        } catch (n) {
          var t = n.stack.trim().match(/\n( *(at )?)/);
          bm = t && t[1] || "", Ba = -1 < n.stack.indexOf(`
    at`) ? " (<anonymous>)" : -1 < n.stack.indexOf("@") ? "@unknown:0:0" : "";
        }
      return `
` + bm + e + Ba;
    }
    function pe(e, t) {
      if (!e || Es) return "";
      var n = wd.get(e);
      if (n !== void 0) return n;
      Es = !0, n = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
      var i = null;
      i = N.H, N.H = null, q();
      try {
        var o = {
          DetermineComponentFrameRoot: function() {
            try {
              if (t) {
                var B = function() {
                  throw Error();
                };
                if (Object.defineProperty(B.prototype, "props", {
                  set: function() {
                    throw Error();
                  }
                }), typeof Reflect == "object" && Reflect.construct) {
                  try {
                    Reflect.construct(B, []);
                  } catch (ue) {
                    var Y = ue;
                  }
                  Reflect.construct(e, [], B);
                } else {
                  try {
                    B.call();
                  } catch (ue) {
                    Y = ue;
                  }
                  e.call(B.prototype);
                }
              } else {
                try {
                  throw Error();
                } catch (ue) {
                  Y = ue;
                }
                (B = e()) && typeof B.catch == "function" && B.catch(function() {
                });
              }
            } catch (ue) {
              if (ue && Y && typeof ue.stack == "string")
                return [ue.stack, Y.stack];
            }
            return [null, null];
          }
        };
        o.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
        var f = Object.getOwnPropertyDescriptor(
          o.DetermineComponentFrameRoot,
          "name"
        );
        f && f.configurable && Object.defineProperty(
          o.DetermineComponentFrameRoot,
          "name",
          { value: "DetermineComponentFrameRoot" }
        );
        var d = o.DetermineComponentFrameRoot(), h = d[0], m = d[1];
        if (h && m) {
          var p = h.split(`
`), Q = m.split(`
`);
          for (d = f = 0; f < p.length && !p[f].includes(
            "DetermineComponentFrameRoot"
          ); )
            f++;
          for (; d < Q.length && !Q[d].includes(
            "DetermineComponentFrameRoot"
          ); )
            d++;
          if (f === p.length || d === Q.length)
            for (f = p.length - 1, d = Q.length - 1; 1 <= f && 0 <= d && p[f] !== Q[d]; )
              d--;
          for (; 1 <= f && 0 <= d; f--, d--)
            if (p[f] !== Q[d]) {
              if (f !== 1 || d !== 1)
                do
                  if (f--, d--, 0 > d || p[f] !== Q[d]) {
                    var H = `
` + p[f].replace(
                      " at new ",
                      " at "
                    );
                    return e.displayName && H.includes("<anonymous>") && (H = H.replace("<anonymous>", e.displayName)), typeof e == "function" && wd.set(e, H), H;
                  }
                while (1 <= f && 0 <= d);
              break;
            }
        }
      } finally {
        Es = !1, N.H = i, oe(), Error.prepareStackTrace = n;
      }
      return p = (p = e ? e.displayName || e.name : "") ? ce(p) : "", typeof e == "function" && wd.set(e, p), p;
    }
    function Le(e) {
      var t = Error.prepareStackTrace;
      if (Error.prepareStackTrace = void 0, e = e.stack, Error.prepareStackTrace = t, e.startsWith(`Error: react-stack-top-frame
`) && (e = e.slice(29)), t = e.indexOf(`
`), t !== -1 && (e = e.slice(t + 1)), t = e.indexOf("react-stack-bottom-frame"), t !== -1 && (t = e.lastIndexOf(
        `
`,
        t
      )), t !== -1)
        e = e.slice(0, t);
      else return "";
      return e;
    }
    function yt(e) {
      switch (e.tag) {
        case 26:
        case 27:
        case 5:
          return ce(e.type);
        case 16:
          return ce("Lazy");
        case 13:
          return ce("Suspense");
        case 19:
          return ce("SuspenseList");
        case 0:
        case 15:
          return pe(e.type, !1);
        case 11:
          return pe(e.type.render, !1);
        case 1:
          return pe(e.type, !0);
        case 31:
          return ce("Activity");
        default:
          return "";
      }
    }
    function sa(e) {
      try {
        var t = "";
        do {
          t += yt(e);
          var n = e._debugInfo;
          if (n)
            for (var i = n.length - 1; 0 <= i; i--) {
              var o = n[i];
              if (typeof o.name == "string") {
                var f = t, d = o.env, h = ce(
                  o.name + (d ? " [" + d + "]" : "")
                );
                t = f + h;
              }
            }
          e = e.return;
        } while (e);
        return t;
      } catch (m) {
        return `
Error generating stack: ` + m.message + `
` + m.stack;
      }
    }
    function Fn(e) {
      return (e = e ? e.displayName || e.name : "") ? ce(e) : "";
    }
    function Dt() {
      if (ua === null) return null;
      var e = ua._debugOwner;
      return e != null ? Ae(e) : null;
    }
    function ra() {
      if (ua === null) return "";
      var e = ua;
      try {
        var t = "";
        switch (e.tag === 6 && (e = e.return), e.tag) {
          case 26:
          case 27:
          case 5:
            t += ce(e.type);
            break;
          case 13:
            t += ce("Suspense");
            break;
          case 19:
            t += ce("SuspenseList");
            break;
          case 31:
            t += ce("Activity");
            break;
          case 30:
          case 0:
          case 15:
          case 1:
            e._debugOwner || t !== "" || (t += Fn(
              e.type
            ));
            break;
          case 11:
            e._debugOwner || t !== "" || (t += Fn(
              e.type.render
            ));
        }
        for (; e; )
          if (typeof e.tag == "number") {
            var n = e;
            e = n._debugOwner;
            var i = n._debugStack;
            e && i && (typeof i != "string" && (n._debugStack = i = Le(i)), i !== "" && (t += `
` + i));
          } else if (e.debugStack != null) {
            var o = e.debugStack;
            (e = e.owner) && o && (t += `
` + Le(o));
          } else break;
        var f = t;
      } catch (d) {
        f = `
Error generating stack: ` + d.message + `
` + d.stack;
      }
      return f;
    }
    function ae(e, t, n, i, o, f, d) {
      var h = ua;
      Uu(e);
      try {
        return e !== null && e._debugTask ? e._debugTask.run(
          t.bind(null, n, i, o, f, d)
        ) : t(n, i, o, f, d);
      } finally {
        Uu(h);
      }
      throw Error(
        "runWithFiberInDEV should never be called in production. This is a bug in React."
      );
    }
    function Uu(e) {
      N.getCurrentStack = e === null ? null : ra, ia = !1, ua = e;
    }
    function Jc(e) {
      return typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
    }
    function nf(e) {
      try {
        return fn(e), !1;
      } catch {
        return !0;
      }
    }
    function fn(e) {
      return "" + e;
    }
    function ct(e, t) {
      if (nf(e))
        return console.error(
          "The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before using it here.",
          t,
          Jc(e)
        ), fn(e);
    }
    function uf(e, t) {
      if (nf(e))
        return console.error(
          "The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before using it here.",
          t,
          Jc(e)
        ), fn(e);
    }
    function Ps(e) {
      if (nf(e))
        return console.error(
          "Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before using it here.",
          Jc(e)
        ), fn(e);
    }
    function v0(e) {
      if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u") return !1;
      var t = __REACT_DEVTOOLS_GLOBAL_HOOK__;
      if (t.isDisabled) return !0;
      if (!t.supportsFiber)
        return console.error(
          "The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://react.dev/link/react-devtools"
        ), !0;
      try {
        Vo = t.inject(e), bl = t;
      } catch (n) {
        console.error("React instrumentation encountered an error: %s.", n);
      }
      return !!t.checkDCE;
    }
    function mt(e) {
      if (typeof Lp == "function" && jp(e), bl && typeof bl.setStrictMode == "function")
        try {
          bl.setStrictMode(Vo, e);
        } catch (t) {
          ca || (ca = !0, console.error(
            "React instrumentation encountered an error: %s",
            t
          ));
        }
    }
    function Oh(e) {
      P = e;
    }
    function $s() {
      P !== null && typeof P.markCommitStopped == "function" && P.markCommitStopped();
    }
    function cf(e) {
      P !== null && typeof P.markComponentRenderStarted == "function" && P.markComponentRenderStarted(e);
    }
    function kc() {
      P !== null && typeof P.markComponentRenderStopped == "function" && P.markComponentRenderStopped();
    }
    function Ya(e) {
      P !== null && typeof P.markRenderStarted == "function" && P.markRenderStarted(e);
    }
    function A0() {
      P !== null && typeof P.markRenderStopped == "function" && P.markRenderStopped();
    }
    function Kc(e, t) {
      P !== null && typeof P.markStateUpdateScheduled == "function" && P.markStateUpdateScheduled(e, t);
    }
    function S0(e) {
      return e >>>= 0, e === 0 ? 32 : 31 - (Go(e) / Ts | 0) | 0;
    }
    function er(e) {
      if (e & 1) return "SyncHydrationLane";
      if (e & 2) return "Sync";
      if (e & 4) return "InputContinuousHydration";
      if (e & 8) return "InputContinuous";
      if (e & 16) return "DefaultHydration";
      if (e & 32) return "Default";
      if (e & 128) return "TransitionHydration";
      if (e & 4194048) return "Transition";
      if (e & 62914560) return "Retry";
      if (e & 67108864) return "SelectiveHydration";
      if (e & 134217728) return "IdleHydration";
      if (e & 268435456) return "Idle";
      if (e & 536870912) return "Offscreen";
      if (e & 1073741824) return "Deferred";
    }
    function Ci(e) {
      var t = e & 42;
      if (t !== 0) return t;
      switch (e & -e) {
        case 1:
          return 1;
        case 2:
          return 2;
        case 4:
          return 4;
        case 8:
          return 8;
        case 16:
          return 16;
        case 32:
          return 32;
        case 64:
          return 64;
        case 128:
          return 128;
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return e & 4194048;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
          return e & 62914560;
        case 67108864:
          return 67108864;
        case 134217728:
          return 134217728;
        case 268435456:
          return 268435456;
        case 536870912:
          return 536870912;
        case 1073741824:
          return 0;
        default:
          return console.error(
            "Should have found matching lanes. This is a bug in React."
          ), e;
      }
    }
    function of(e, t, n) {
      var i = e.pendingLanes;
      if (i === 0) return 0;
      var o = 0, f = e.suspendedLanes, d = e.pingedLanes;
      e = e.warmLanes;
      var h = i & 134217727;
      return h !== 0 ? (i = h & ~f, i !== 0 ? o = Ci(i) : (d &= h, d !== 0 ? o = Ci(d) : n || (n = h & ~e, n !== 0 && (o = Ci(n))))) : (h = i & ~f, h !== 0 ? o = Ci(h) : d !== 0 ? o = Ci(d) : n || (n = i & ~e, n !== 0 && (o = Ci(n)))), o === 0 ? 0 : t !== 0 && t !== o && (t & f) === 0 && (f = o & -o, n = t & -t, f >= n || f === 32 && (n & 4194048) !== 0) ? t : o;
    }
    function ff(e, t) {
      return (e.pendingLanes & ~(e.suspendedLanes & ~e.pingedLanes) & t) === 0;
    }
    function bp(e, t) {
      switch (e) {
        case 1:
        case 2:
        case 4:
        case 8:
        case 64:
          return t + 250;
        case 16:
        case 32:
        case 128:
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
          return t + 5e3;
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
          return -1;
        case 67108864:
        case 134217728:
        case 268435456:
        case 536870912:
        case 1073741824:
          return -1;
        default:
          return console.error(
            "Should have found matching lanes. This is a bug in React."
          ), -1;
      }
    }
    function Wc() {
      var e = Cs;
      return Cs <<= 1, (Cs & 4194048) === 0 && (Cs = 256), e;
    }
    function Wl() {
      var e = Cc;
      return Cc <<= 1, (Cc & 62914560) === 0 && (Cc = 4194304), e;
    }
    function sn(e) {
      for (var t = [], n = 0; 31 > n; n++) t.push(e);
      return t;
    }
    function hl(e, t) {
      e.pendingLanes |= t, t !== 268435456 && (e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0);
    }
    function Ep(e, t, n, i, o, f) {
      var d = e.pendingLanes;
      e.pendingLanes = n, e.suspendedLanes = 0, e.pingedLanes = 0, e.warmLanes = 0, e.expiredLanes &= n, e.entangledLanes &= n, e.errorRecoveryDisabledLanes &= n, e.shellSuspendCounter = 0;
      var h = e.entanglements, m = e.expirationTimes, p = e.hiddenUpdates;
      for (n = d & ~n; 0 < n; ) {
        var Q = 31 - Jl(n), H = 1 << Q;
        h[Q] = 0, m[Q] = -1;
        var B = p[Q];
        if (B !== null)
          for (p[Q] = null, Q = 0; Q < B.length; Q++) {
            var Y = B[Q];
            Y !== null && (Y.lane &= -536870913);
          }
        n &= ~H;
      }
      i !== 0 && b0(e, i, 0), f !== 0 && o === 0 && e.tag !== 0 && (e.suspendedLanes |= f & ~(d & ~t));
    }
    function b0(e, t, n) {
      e.pendingLanes |= t, e.suspendedLanes &= ~t;
      var i = 31 - Jl(t);
      e.entangledLanes |= t, e.entanglements[i] = e.entanglements[i] | 1073741824 | n & 4194090;
    }
    function E0(e, t) {
      var n = e.entangledLanes |= t;
      for (e = e.entanglements; n; ) {
        var i = 31 - Jl(n), o = 1 << i;
        o & t | e[i] & t && (e[i] |= t), n &= ~o;
      }
    }
    function Ic(e) {
      switch (e) {
        case 2:
          e = 1;
          break;
        case 8:
          e = 4;
          break;
        case 32:
          e = 16;
          break;
        case 256:
        case 512:
        case 1024:
        case 2048:
        case 4096:
        case 8192:
        case 16384:
        case 32768:
        case 65536:
        case 131072:
        case 262144:
        case 524288:
        case 1048576:
        case 2097152:
        case 4194304:
        case 8388608:
        case 16777216:
        case 33554432:
          e = 128;
          break;
        case 268435456:
          e = 134217728;
          break;
        default:
          e = 0;
      }
      return e;
    }
    function sf(e, t, n) {
      if (xa)
        for (e = e.pendingUpdatersLaneMap; 0 < n; ) {
          var i = 31 - Jl(n), o = 1 << i;
          e[i].add(t), n &= ~o;
        }
    }
    function Mu(e, t) {
      if (xa)
        for (var n = e.pendingUpdatersLaneMap, i = e.memoizedUpdaters; 0 < t; ) {
          var o = 31 - Jl(t);
          e = 1 << o, o = n[o], 0 < o.size && (o.forEach(function(f) {
            var d = f.alternate;
            d !== null && i.has(d) || i.add(f);
          }), o.clear()), t &= ~e;
        }
    }
    function Fc(e) {
      return e &= -e, oa < e ? Ha < e ? (e & 134217727) !== 0 ? Qa : Rs : Ha : oa;
    }
    function _c() {
      var e = Xe.p;
      return e !== 0 ? e : (e = window.event, e === void 0 ? Qa : hg(e.type));
    }
    function Tp(e, t) {
      var n = Xe.p;
      try {
        return Xe.p = e, t();
      } finally {
        Xe.p = n;
      }
    }
    function tr(e) {
      delete e[Ql], delete e[Nl], delete e[Cm], delete e[Vp], delete e[Gp];
    }
    function Ri(e) {
      var t = e[Ql];
      if (t) return t;
      for (var n = e.parentNode; n; ) {
        if (t = n[Na] || n[Ql]) {
          if (n = t.alternate, t.child !== null || n !== null && n.child !== null)
            for (e = tm(e); e !== null; ) {
              if (n = e[Ql])
                return n;
              e = tm(e);
            }
          return t;
        }
        e = n, n = e.parentNode;
      }
      return null;
    }
    function rn(e) {
      if (e = e[Ql] || e[Na]) {
        var t = e.tag;
        if (t === 5 || t === 6 || t === 13 || t === 26 || t === 27 || t === 3)
          return e;
      }
      return null;
    }
    function _n(e) {
      var t = e.tag;
      if (t === 5 || t === 26 || t === 27 || t === 6)
        return e.stateNode;
      throw Error("getNodeFromInstance: Invalid argument.");
    }
    function Pc(e) {
      var t = e[Ds];
      return t || (t = e[Ds] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), t;
    }
    function kt(e) {
      e[mi] = !0;
    }
    function Bu(e, t) {
      xu(e, t), xu(e + "Capture", t);
    }
    function xu(e, t) {
      Rc[e] && console.error(
        "EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",
        e
      ), Rc[e] = t;
      var n = e.toLowerCase();
      for (Dc[n] = e, e === "onDoubleClick" && (Dc.ondblclick = e), e = 0; e < t.length; e++)
        jd.add(t[e]);
    }
    function Hu(e, t) {
      Zp[t.type] || t.onChange || t.onInput || t.readOnly || t.disabled || t.value == null || console.error(
        e === "select" ? "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set `onChange`." : "You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."
      ), t.onChange || t.readOnly || t.disabled || t.checked == null || console.error(
        "You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`."
      );
    }
    function lr(e) {
      return Vt.call(Dm, e) ? !0 : Vt.call(Rm, e) ? !1 : Tg.test(e) ? Dm[e] = !0 : (Rm[e] = !0, console.error("Invalid attribute name: `%s`", e), !1);
    }
    function T0(e, t, n) {
      if (lr(t)) {
        if (!e.hasAttribute(t)) {
          switch (typeof n) {
            case "symbol":
            case "object":
              return n;
            case "function":
              return n;
            case "boolean":
              if (n === !1) return n;
          }
          return n === void 0 ? void 0 : null;
        }
        return e = e.getAttribute(t), e === "" && n === !0 ? !0 : (ct(n, t), e === "" + n ? n : e);
      }
    }
    function La(e, t, n) {
      if (lr(t))
        if (n === null) e.removeAttribute(t);
        else {
          switch (typeof n) {
            case "undefined":
            case "function":
            case "symbol":
              e.removeAttribute(t);
              return;
            case "boolean":
              var i = t.toLowerCase().slice(0, 5);
              if (i !== "data-" && i !== "aria-") {
                e.removeAttribute(t);
                return;
              }
          }
          ct(n, t), e.setAttribute(t, "" + n);
        }
    }
    function Kt(e, t, n) {
      if (n === null) e.removeAttribute(t);
      else {
        switch (typeof n) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            e.removeAttribute(t);
            return;
        }
        ct(n, t), e.setAttribute(t, "" + n);
      }
    }
    function xt(e, t, n, i) {
      if (i === null) e.removeAttribute(n);
      else {
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            e.removeAttribute(n);
            return;
        }
        ct(i, n), e.setAttributeNS(t, n, "" + i);
      }
    }
    function yl(e) {
      switch (typeof e) {
        case "bigint":
        case "boolean":
        case "number":
        case "string":
        case "undefined":
          return e;
        case "object":
          return Ps(e), e;
        default:
          return "";
      }
    }
    function ar(e) {
      var t = e.type;
      return (e = e.nodeName) && e.toLowerCase() === "input" && (t === "checkbox" || t === "radio");
    }
    function Cp(e) {
      var t = ar(e) ? "checked" : "value", n = Object.getOwnPropertyDescriptor(
        e.constructor.prototype,
        t
      );
      Ps(e[t]);
      var i = "" + e[t];
      if (!e.hasOwnProperty(t) && typeof n < "u" && typeof n.get == "function" && typeof n.set == "function") {
        var o = n.get, f = n.set;
        return Object.defineProperty(e, t, {
          configurable: !0,
          get: function() {
            return o.call(this);
          },
          set: function(d) {
            Ps(d), i = "" + d, f.call(this, d);
          }
        }), Object.defineProperty(e, t, {
          enumerable: n.enumerable
        }), {
          getValue: function() {
            return i;
          },
          setValue: function(d) {
            Ps(d), i = "" + d;
          },
          stopTracking: function() {
            e._valueTracker = null, delete e[t];
          }
        };
      }
    }
    function nr(e) {
      e._valueTracker || (e._valueTracker = Cp(e));
    }
    function zh(e) {
      if (!e) return !1;
      var t = e._valueTracker;
      if (!t) return !0;
      var n = t.getValue(), i = "";
      return e && (i = ar(e) ? e.checked ? "true" : "false" : e.value), e = i, e !== n ? (t.setValue(e), !0) : !1;
    }
    function Qu(e) {
      if (e = e || (typeof document < "u" ? document : void 0), typeof e > "u") return null;
      try {
        return e.activeElement || e.body;
      } catch {
        return e.body;
      }
    }
    function Il(e) {
      return e.replace(
        Cg,
        function(t) {
          return "\\" + t.charCodeAt(0).toString(16) + " ";
        }
      );
    }
    function Di(e, t) {
      t.checked === void 0 || t.defaultChecked === void 0 || Om || (console.error(
        "%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
        Dt() || "A component",
        t.type
      ), Om = !0), t.value === void 0 || t.defaultValue === void 0 || Vd || (console.error(
        "%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://react.dev/link/controlled-components",
        Dt() || "A component",
        t.type
      ), Vd = !0);
    }
    function Nu(e, t, n, i, o, f, d, h) {
      e.name = "", d != null && typeof d != "function" && typeof d != "symbol" && typeof d != "boolean" ? (ct(d, "type"), e.type = d) : e.removeAttribute("type"), t != null ? d === "number" ? (t === 0 && e.value === "" || e.value != t) && (e.value = "" + yl(t)) : e.value !== "" + yl(t) && (e.value = "" + yl(t)) : d !== "submit" && d !== "reset" || e.removeAttribute("value"), t != null ? wu(e, d, yl(t)) : n != null ? wu(e, d, yl(n)) : i != null && e.removeAttribute("value"), o == null && f != null && (e.defaultChecked = !!f), o != null && (e.checked = o && typeof o != "function" && typeof o != "symbol"), h != null && typeof h != "function" && typeof h != "symbol" && typeof h != "boolean" ? (ct(h, "name"), e.name = "" + yl(h)) : e.removeAttribute("name");
    }
    function $c(e, t, n, i, o, f, d, h) {
      if (f != null && typeof f != "function" && typeof f != "symbol" && typeof f != "boolean" && (ct(f, "type"), e.type = f), t != null || n != null) {
        if (!(f !== "submit" && f !== "reset" || t != null))
          return;
        n = n != null ? "" + yl(n) : "", t = t != null ? "" + yl(t) : n, h || t === e.value || (e.value = t), e.defaultValue = t;
      }
      i = i ?? o, i = typeof i != "function" && typeof i != "symbol" && !!i, e.checked = h ? e.checked : !!i, e.defaultChecked = !!i, d != null && typeof d != "function" && typeof d != "symbol" && typeof d != "boolean" && (ct(d, "name"), e.name = d);
    }
    function wu(e, t, n) {
      t === "number" && Qu(e.ownerDocument) === e || e.defaultValue === "" + n || (e.defaultValue = "" + n);
    }
    function Wt(e, t) {
      t.value == null && (typeof t.children == "object" && t.children !== null ? gm.Children.forEach(t.children, function(n) {
        n == null || typeof n == "string" || typeof n == "number" || typeof n == "bigint" || Rg || (Rg = !0, console.error(
          "Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>."
        ));
      }) : t.dangerouslySetInnerHTML == null || Dg || (Dg = !0, console.error(
        "Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."
      ))), t.selected == null || Os || (console.error(
        "Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."
      ), Os = !0);
    }
    function Uh() {
      var e = Dt();
      return e ? `

Check the render method of \`` + e + "`." : "";
    }
    function Oi(e, t, n, i) {
      if (e = e.options, t) {
        t = {};
        for (var o = 0; o < n.length; o++)
          t["$" + n[o]] = !0;
        for (n = 0; n < e.length; n++)
          o = t.hasOwnProperty("$" + e[n].value), e[n].selected !== o && (e[n].selected = o), o && i && (e[n].defaultSelected = !0);
      } else {
        for (n = "" + yl(n), t = null, o = 0; o < e.length; o++) {
          if (e[o].value === n) {
            e[o].selected = !0, i && (e[o].defaultSelected = !0);
            return;
          }
          t !== null || e[o].disabled || (t = e[o]);
        }
        t !== null && (t.selected = !0);
      }
    }
    function qu(e, t) {
      for (e = 0; e < Zd.length; e++) {
        var n = Zd[e];
        if (t[n] != null) {
          var i = tl(t[n]);
          t.multiple && !i ? console.error(
            "The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",
            n,
            Uh()
          ) : !t.multiple && i && console.error(
            "The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",
            n,
            Uh()
          );
        }
      }
      t.value === void 0 || t.defaultValue === void 0 || Gd || (console.error(
        "Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://react.dev/link/controlled-components"
      ), Gd = !0);
    }
    function zi(e, t) {
      t.value === void 0 || t.defaultValue === void 0 || zs || (console.error(
        "%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://react.dev/link/controlled-components",
        Dt() || "A component"
      ), zs = !0), t.children != null && t.value == null && console.error(
        "Use the `defaultValue` or `value` props instead of setting children on <textarea>."
      );
    }
    function C0(e, t, n) {
      if (t != null && (t = "" + yl(t), t !== e.value && (e.value = t), n == null)) {
        e.defaultValue !== t && (e.defaultValue = t);
        return;
      }
      e.defaultValue = n != null ? "" + yl(n) : "";
    }
    function Mh(e, t, n, i) {
      if (t == null) {
        if (i != null) {
          if (n != null)
            throw Error(
              "If you supply `defaultValue` on a <textarea>, do not pass children."
            );
          if (tl(i)) {
            if (1 < i.length)
              throw Error("<textarea> can only have at most one child.");
            i = i[0];
          }
          n = i;
        }
        n == null && (n = ""), t = n;
      }
      n = yl(t), e.defaultValue = n, i = e.textContent, i === n && i !== "" && i !== null && (e.value = i);
    }
    function Bh(e, t) {
      return e.serverProps === void 0 && e.serverTail.length === 0 && e.children.length === 1 && 3 < e.distanceFromLeaf && e.distanceFromLeaf > 15 - t ? Bh(e.children[0], t) : e;
    }
    function da(e) {
      return "  " + "  ".repeat(e);
    }
    function Pn(e) {
      return "+ " + "  ".repeat(e);
    }
    function dn(e) {
      return "- " + "  ".repeat(e);
    }
    function hn(e) {
      switch (e.tag) {
        case 26:
        case 27:
        case 5:
          return e.type;
        case 16:
          return "Lazy";
        case 13:
          return "Suspense";
        case 19:
          return "SuspenseList";
        case 0:
        case 15:
          return e = e.type, e.displayName || e.name || null;
        case 11:
          return e = e.type.render, e.displayName || e.name || null;
        case 1:
          return e = e.type, e.displayName || e.name || null;
        default:
          return null;
      }
    }
    function Dl(e, t) {
      return Xd.test(e) ? (e = JSON.stringify(e), e.length > t - 2 ? 8 > t ? '{"..."}' : "{" + e.slice(0, t - 7) + '..."}' : "{" + e + "}") : e.length > t ? 5 > t ? '{"..."}' : e.slice(0, t - 3) + "..." : e;
    }
    function rf(e, t, n) {
      var i = 120 - 2 * n;
      if (t === null)
        return Pn(n) + Dl(e, i) + `
`;
      if (typeof t == "string") {
        for (var o = 0; o < t.length && o < e.length && t.charCodeAt(o) === e.charCodeAt(o); o++) ;
        return o > i - 8 && 10 < o && (e = "..." + e.slice(o - 8), t = "..." + t.slice(o - 8)), Pn(n) + Dl(e, i) + `
` + dn(n) + Dl(t, i) + `
`;
      }
      return da(n) + Dl(e, i) + `
`;
    }
    function xh(e) {
      return Object.prototype.toString.call(e).replace(/^\[object (.*)\]$/, function(t, n) {
        return n;
      });
    }
    function Yu(e, t) {
      switch (typeof e) {
        case "string":
          return e = JSON.stringify(e), e.length > t ? 5 > t ? '"..."' : e.slice(0, t - 4) + '..."' : e;
        case "object":
          if (e === null) return "null";
          if (tl(e)) return "[...]";
          if (e.$$typeof === ln)
            return (t = $(e.type)) ? "<" + t + ">" : "<...>";
          var n = xh(e);
          if (n === "Object") {
            n = "", t -= 2;
            for (var i in e)
              if (e.hasOwnProperty(i)) {
                var o = JSON.stringify(i);
                if (o !== '"' + i + '"' && (i = o), t -= i.length - 2, o = Yu(
                  e[i],
                  15 > t ? t : 15
                ), t -= o.length, 0 > t) {
                  n += n === "" ? "..." : ", ...";
                  break;
                }
                n += (n === "" ? "" : ",") + i + ":" + o;
              }
            return "{" + n + "}";
          }
          return n;
        case "function":
          return (t = e.displayName || e.name) ? "function " + t : "function";
        default:
          return String(e);
      }
    }
    function Ui(e, t) {
      return typeof e != "string" || Xd.test(e) ? "{" + Yu(e, t - 2) + "}" : e.length > t - 2 ? 5 > t ? '"..."' : '"' + e.slice(0, t - 5) + '..."' : '"' + e + '"';
    }
    function eo(e, t, n) {
      var i = 120 - n.length - e.length, o = [], f;
      for (f in t)
        if (t.hasOwnProperty(f) && f !== "children") {
          var d = Ui(
            t[f],
            120 - n.length - f.length - 1
          );
          i -= f.length + d.length + 2, o.push(f + "=" + d);
        }
      return o.length === 0 ? n + "<" + e + `>
` : 0 < i ? n + "<" + e + " " + o.join(" ") + `>
` : n + "<" + e + `
` + n + "  " + o.join(`
` + n + "  ") + `
` + n + `>
`;
    }
    function Rp(e, t, n) {
      var i = "", o = ee({}, t), f;
      for (f in e)
        if (e.hasOwnProperty(f)) {
          delete o[f];
          var d = 120 - 2 * n - f.length - 2, h = Yu(e[f], d);
          t.hasOwnProperty(f) ? (d = Yu(t[f], d), i += Pn(n) + f + ": " + h + `
`, i += dn(n) + f + ": " + d + `
`) : i += Pn(n) + f + ": " + h + `
`;
        }
      for (var m in o)
        o.hasOwnProperty(m) && (e = Yu(
          o[m],
          120 - 2 * n - m.length - 2
        ), i += dn(n) + m + ": " + e + `
`);
      return i;
    }
    function Ca(e, t, n, i) {
      var o = "", f = /* @__PURE__ */ new Map();
      for (p in n)
        n.hasOwnProperty(p) && f.set(
          p.toLowerCase(),
          p
        );
      if (f.size === 1 && f.has("children"))
        o += eo(
          e,
          t,
          da(i)
        );
      else {
        for (var d in t)
          if (t.hasOwnProperty(d) && d !== "children") {
            var h = 120 - 2 * (i + 1) - d.length - 1, m = f.get(d.toLowerCase());
            if (m !== void 0) {
              f.delete(d.toLowerCase());
              var p = t[d];
              m = n[m];
              var Q = Ui(
                p,
                h
              );
              h = Ui(
                m,
                h
              ), typeof p == "object" && p !== null && typeof m == "object" && m !== null && xh(p) === "Object" && xh(m) === "Object" && (2 < Object.keys(p).length || 2 < Object.keys(m).length || -1 < Q.indexOf("...") || -1 < h.indexOf("...")) ? o += da(i + 1) + d + `={{
` + Rp(
                p,
                m,
                i + 2
              ) + da(i + 1) + `}}
` : (o += Pn(i + 1) + d + "=" + Q + `
`, o += dn(i + 1) + d + "=" + h + `
`);
            } else
              o += da(i + 1) + d + "=" + Ui(t[d], h) + `
`;
          }
        f.forEach(function(H) {
          if (H !== "children") {
            var B = 120 - 2 * (i + 1) - H.length - 1;
            o += dn(i + 1) + H + "=" + Ui(n[H], B) + `
`;
          }
        }), o = o === "" ? da(i) + "<" + e + `>
` : da(i) + "<" + e + `
` + o + da(i) + `>
`;
      }
      return e = n.children, t = t.children, typeof e == "string" || typeof e == "number" || typeof e == "bigint" ? (f = "", (typeof t == "string" || typeof t == "number" || typeof t == "bigint") && (f = "" + t), o += rf(f, "" + e, i + 1)) : (typeof t == "string" || typeof t == "number" || typeof t == "bigint") && (o = e == null ? o + rf("" + t, null, i + 1) : o + rf("" + t, void 0, i + 1)), o;
    }
    function ur(e, t) {
      var n = hn(e);
      if (n === null) {
        for (n = "", e = e.child; e; )
          n += ur(e, t), e = e.sibling;
        return n;
      }
      return da(t) + "<" + n + `>
`;
    }
    function ir(e, t) {
      var n = Bh(e, t);
      if (n !== e && (e.children.length !== 1 || e.children[0] !== n))
        return da(t) + `...
` + ir(n, t + 1);
      n = "";
      var i = e.fiber._debugInfo;
      if (i)
        for (var o = 0; o < i.length; o++) {
          var f = i[o].name;
          typeof f == "string" && (n += da(t) + "<" + f + `>
`, t++);
        }
      if (i = "", o = e.fiber.pendingProps, e.fiber.tag === 6)
        i = rf(o, e.serverProps, t), t++;
      else if (f = hn(e.fiber), f !== null)
        if (e.serverProps === void 0) {
          i = t;
          var d = 120 - 2 * i - f.length - 2, h = "";
          for (p in o)
            if (o.hasOwnProperty(p) && p !== "children") {
              var m = Ui(o[p], 15);
              if (d -= p.length + m.length + 2, 0 > d) {
                h += " ...";
                break;
              }
              h += " " + p + "=" + m;
            }
          i = da(i) + "<" + f + h + `>
`, t++;
        } else
          e.serverProps === null ? (i = eo(
            f,
            o,
            Pn(t)
          ), t++) : typeof e.serverProps == "string" ? console.error(
            "Should not have matched a non HostText fiber to a Text node. This is a bug in React."
          ) : (i = Ca(
            f,
            o,
            e.serverProps,
            t
          ), t++);
      var p = "";
      for (o = e.fiber.child, f = 0; o && f < e.children.length; )
        d = e.children[f], d.fiber === o ? (p += ir(d, t), f++) : p += ur(o, t), o = o.sibling;
      for (o && 0 < e.children.length && (p += da(t) + `...
`), o = e.serverTail, e.serverProps === null && t--, e = 0; e < o.length; e++)
        f = o[e], p = typeof f == "string" ? p + (dn(t) + Dl(f, 120 - 2 * t) + `
`) : p + eo(
          f.type,
          f.props,
          dn(t)
        );
      return n + i + p;
    }
    function df(e) {
      try {
        return `

` + ir(e, 0);
      } catch {
        return "";
      }
    }
    function Mi(e, t, n) {
      for (var i = t, o = null, f = 0; i; )
        i === e && (f = 0), o = {
          fiber: i,
          children: o !== null ? [o] : [],
          serverProps: i === t ? n : i === e ? null : void 0,
          serverTail: [],
          distanceFromLeaf: f
        }, f++, i = i.return;
      return o !== null ? df(o).replaceAll(/^[+-]/gm, ">") : "";
    }
    function Hh(e, t) {
      var n = ee({}, e || bu), i = { tag: t };
      return Jd.indexOf(t) !== -1 && (n.aTagInScope = null, n.buttonTagInScope = null, n.nobrTagInScope = null), gi.indexOf(t) !== -1 && (n.pTagInButtonScope = null), Og.indexOf(t) !== -1 && t !== "address" && t !== "div" && t !== "p" && (n.listItemTagAutoclosing = null, n.dlItemTagAutoclosing = null), n.current = i, t === "form" && (n.formTag = i), t === "a" && (n.aTagInScope = i), t === "button" && (n.buttonTagInScope = i), t === "nobr" && (n.nobrTagInScope = i), t === "p" && (n.pTagInButtonScope = i), t === "li" && (n.listItemTagAutoclosing = i), (t === "dd" || t === "dt") && (n.dlItemTagAutoclosing = i), t === "#document" || t === "html" ? n.containerTagInScope = null : n.containerTagInScope || (n.containerTagInScope = i), e !== null || t !== "#document" && t !== "html" && t !== "body" ? n.implicitRootScope === !0 && (n.implicitRootScope = !1) : n.implicitRootScope = !0, n;
    }
    function Qh(e, t, n) {
      switch (t) {
        case "select":
          return e === "hr" || e === "option" || e === "optgroup" || e === "script" || e === "template" || e === "#text";
        case "optgroup":
          return e === "option" || e === "#text";
        case "option":
          return e === "#text";
        case "tr":
          return e === "th" || e === "td" || e === "style" || e === "script" || e === "template";
        case "tbody":
        case "thead":
        case "tfoot":
          return e === "tr" || e === "style" || e === "script" || e === "template";
        case "colgroup":
          return e === "col" || e === "template";
        case "table":
          return e === "caption" || e === "colgroup" || e === "tbody" || e === "tfoot" || e === "thead" || e === "style" || e === "script" || e === "template";
        case "head":
          return e === "base" || e === "basefont" || e === "bgsound" || e === "link" || e === "meta" || e === "title" || e === "noscript" || e === "noframes" || e === "style" || e === "script" || e === "template";
        case "html":
          if (n) break;
          return e === "head" || e === "body" || e === "frameset";
        case "frameset":
          return e === "frame";
        case "#document":
          if (!n) return e === "html";
      }
      switch (e) {
        case "h1":
        case "h2":
        case "h3":
        case "h4":
        case "h5":
        case "h6":
          return t !== "h1" && t !== "h2" && t !== "h3" && t !== "h4" && t !== "h5" && t !== "h6";
        case "rp":
        case "rt":
          return pi.indexOf(t) === -1;
        case "caption":
        case "col":
        case "colgroup":
        case "frameset":
        case "frame":
        case "tbody":
        case "td":
        case "tfoot":
        case "th":
        case "thead":
        case "tr":
          return t == null;
        case "head":
          return n || t === null;
        case "html":
          return n && t === "#document" || t === null;
        case "body":
          return n && (t === "#document" || t === "html") || t === null;
      }
      return !0;
    }
    function to(e, t) {
      switch (e) {
        case "address":
        case "article":
        case "aside":
        case "blockquote":
        case "center":
        case "details":
        case "dialog":
        case "dir":
        case "div":
        case "dl":
        case "fieldset":
        case "figcaption":
        case "figure":
        case "footer":
        case "header":
        case "hgroup":
        case "main":
        case "menu":
        case "nav":
        case "ol":
        case "p":
        case "section":
        case "summary":
        case "ul":
        case "pre":
        case "listing":
        case "table":
        case "hr":
        case "xmp":
        case "h1":
        case "h2":
        case "h3":
        case "h4":
        case "h5":
        case "h6":
          return t.pTagInButtonScope;
        case "form":
          return t.formTag || t.pTagInButtonScope;
        case "li":
          return t.listItemTagAutoclosing;
        case "dd":
        case "dt":
          return t.dlItemTagAutoclosing;
        case "button":
          return t.buttonTagInScope;
        case "a":
          return t.aTagInScope;
        case "nobr":
          return t.nobrTagInScope;
      }
      return null;
    }
    function R0(e, t) {
      for (; e; ) {
        switch (e.tag) {
          case 5:
          case 26:
          case 27:
            if (e.type === t) return e;
        }
        e = e.return;
      }
      return null;
    }
    function cr(e, t) {
      t = t || bu;
      var n = t.current;
      if (t = (n = Qh(
        e,
        n && n.tag,
        t.implicitRootScope
      ) ? null : n) ? null : to(e, t), t = n || t, !t) return !0;
      var i = t.tag;
      if (t = String(!!n) + "|" + e + "|" + i, vi[t]) return !1;
      vi[t] = !0;
      var o = (t = ua) ? R0(t.return, i) : null, f = t !== null && o !== null ? Mi(o, t, null) : "", d = "<" + e + ">";
      return n ? (n = "", i === "table" && e === "tr" && (n += " Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."), console.error(
        `In HTML, %s cannot be a child of <%s>.%s
This will cause a hydration error.%s`,
        d,
        i,
        n,
        f
      )) : console.error(
        `In HTML, %s cannot be a descendant of <%s>.
This will cause a hydration error.%s`,
        d,
        i,
        f
      ), t && (e = t.return, o === null || e === null || o === e && e._debugOwner === t._debugOwner || ae(o, function() {
        console.error(
          `<%s> cannot contain a nested %s.
See this log for the ancestor stack trace.`,
          i,
          d
        );
      })), !1;
    }
    function hf(e, t, n) {
      if (n || Qh("#text", t, !1))
        return !0;
      if (n = "#text|" + t, vi[n]) return !1;
      vi[n] = !0;
      var i = (n = ua) ? R0(n, t) : null;
      return n = n !== null && i !== null ? Mi(
        i,
        n,
        n.tag !== 6 ? { children: null } : null
      ) : "", /\S/.test(e) ? console.error(
        `In HTML, text nodes cannot be a child of <%s>.
This will cause a hydration error.%s`,
        t,
        n
      ) : console.error(
        `In HTML, whitespace text nodes cannot be a child of <%s>. Make sure you don't have any extra whitespace between tags on each line of your source code.
This will cause a hydration error.%s`,
        t,
        n
      ), !1;
    }
    function Bi(e, t) {
      if (t) {
        var n = e.firstChild;
        if (n && n === e.lastChild && n.nodeType === 3) {
          n.nodeValue = t;
          return;
        }
      }
      e.textContent = t;
    }
    function Dp(e) {
      return e.replace(Xp, function(t, n) {
        return n.toUpperCase();
      });
    }
    function D0(e, t, n) {
      var i = t.indexOf("--") === 0;
      i || (-1 < t.indexOf("-") ? Tu.hasOwnProperty(t) && Tu[t] || (Tu[t] = !0, console.error(
        "Unsupported style property %s. Did you mean %s?",
        t,
        Dp(t.replace(Us, "ms-"))
      )) : Ug.test(t) ? Tu.hasOwnProperty(t) && Tu[t] || (Tu[t] = !0, console.error(
        "Unsupported vendor-prefixed style property %s. Did you mean %s?",
        t,
        t.charAt(0).toUpperCase() + t.slice(1)
      )) : !zm.test(n) || kd.hasOwnProperty(n) && kd[n] || (kd[n] = !0, console.error(
        `Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`,
        t,
        n.replace(zm, "")
      )), typeof n == "number" && (isNaN(n) ? Mg || (Mg = !0, console.error(
        "`NaN` is an invalid value for the `%s` css style property.",
        t
      )) : isFinite(n) || Ms || (Ms = !0, console.error(
        "`Infinity` is an invalid value for the `%s` css style property.",
        t
      )))), n == null || typeof n == "boolean" || n === "" ? i ? e.setProperty(t, "") : t === "float" ? e.cssFloat = "" : e[t] = "" : i ? e.setProperty(t, n) : typeof n != "number" || n === 0 || Bs.has(t) ? t === "float" ? e.cssFloat = n : (uf(n, t), e[t] = ("" + n).trim()) : e[t] = n + "px";
    }
    function yf(e, t, n) {
      if (t != null && typeof t != "object")
        throw Error(
          "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
        );
      if (t && Object.freeze(t), e = e.style, n != null) {
        if (t) {
          var i = {};
          if (n) {
            for (var o in n)
              if (n.hasOwnProperty(o) && !t.hasOwnProperty(o))
                for (var f = Oc[o] || [o], d = 0; d < f.length; d++)
                  i[f[d]] = o;
          }
          for (var h in t)
            if (t.hasOwnProperty(h) && (!n || n[h] !== t[h]))
              for (o = Oc[h] || [h], f = 0; f < o.length; f++)
                i[o[f]] = h;
          h = {};
          for (var m in t)
            for (o = Oc[m] || [m], f = 0; f < o.length; f++)
              h[o[f]] = m;
          m = {};
          for (var p in i)
            if (o = i[p], (f = h[p]) && o !== f && (d = o + "," + f, !m[d])) {
              m[d] = !0, d = console;
              var Q = t[o];
              d.error.call(
                d,
                "%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",
                Q == null || typeof Q == "boolean" || Q === "" ? "Removing" : "Updating",
                o,
                f
              );
            }
        }
        for (var H in n)
          !n.hasOwnProperty(H) || t != null && t.hasOwnProperty(H) || (H.indexOf("--") === 0 ? e.setProperty(H, "") : H === "float" ? e.cssFloat = "" : e[H] = "");
        for (var B in t)
          p = t[B], t.hasOwnProperty(B) && n[B] !== p && D0(e, B, p);
      } else
        for (i in t)
          t.hasOwnProperty(i) && D0(e, i, t[i]);
    }
    function xi(e) {
      if (e.indexOf("-") === -1) return !1;
      switch (e) {
        case "annotation-xml":
        case "color-profile":
        case "font-face":
        case "font-face-src":
        case "font-face-uri":
        case "font-face-format":
        case "font-face-name":
        case "missing-glyph":
          return !1;
        default:
          return !0;
      }
    }
    function or(e) {
      return Um.get(e) || e;
    }
    function lo(e, t) {
      if (Vt.call(Zo, t) && Zo[t])
        return !0;
      if (l.test(t)) {
        if (e = "aria-" + t.slice(4).toLowerCase(), e = Mm.hasOwnProperty(e) ? e : null, e == null)
          return console.error(
            "Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",
            t
          ), Zo[t] = !0;
        if (t !== e)
          return console.error(
            "Invalid ARIA attribute `%s`. Did you mean `%s`?",
            t,
            e
          ), Zo[t] = !0;
      }
      if (Kd.test(t)) {
        if (e = t.toLowerCase(), e = Mm.hasOwnProperty(e) ? e : null, e == null) return Zo[t] = !0, !1;
        t !== e && (console.error(
          "Unknown ARIA attribute `%s`. Did you mean `%s`?",
          t,
          e
        ), Zo[t] = !0);
      }
      return !0;
    }
    function ao(e, t) {
      var n = [], i;
      for (i in t)
        lo(e, i) || n.push(i);
      t = n.map(function(o) {
        return "`" + o + "`";
      }).join(", "), n.length === 1 ? console.error(
        "Invalid aria prop %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
        t,
        e
      ) : 1 < n.length && console.error(
        "Invalid aria props %s on <%s> tag. For details, see https://react.dev/link/invalid-aria-props",
        t,
        e
      );
    }
    function O0(e, t, n, i) {
      if (Vt.call(u, t) && u[t])
        return !0;
      var o = t.toLowerCase();
      if (o === "onfocusin" || o === "onfocusout")
        return console.error(
          "React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."
        ), u[t] = !0;
      if (typeof n == "function" && (e === "form" && t === "action" || e === "input" && t === "formAction" || e === "button" && t === "formAction"))
        return !0;
      if (i != null) {
        if (e = i.possibleRegistrationNames, i.registrationNameDependencies.hasOwnProperty(t))
          return !0;
        if (i = e.hasOwnProperty(o) ? e[o] : null, i != null)
          return console.error(
            "Invalid event handler property `%s`. Did you mean `%s`?",
            t,
            i
          ), u[t] = !0;
        if (c.test(t))
          return console.error(
            "Unknown event handler property `%s`. It will be ignored.",
            t
          ), u[t] = !0;
      } else if (c.test(t))
        return s.test(t) && console.error(
          "Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",
          t
        ), u[t] = !0;
      if (r.test(t) || y.test(t)) return !0;
      if (o === "innerhtml")
        return console.error(
          "Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."
        ), u[t] = !0;
      if (o === "aria")
        return console.error(
          "The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."
        ), u[t] = !0;
      if (o === "is" && n !== null && n !== void 0 && typeof n != "string")
        return console.error(
          "Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",
          typeof n
        ), u[t] = !0;
      if (typeof n == "number" && isNaN(n))
        return console.error(
          "Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",
          t
        ), u[t] = !0;
      if (zc.hasOwnProperty(o)) {
        if (o = zc[o], o !== t)
          return console.error(
            "Invalid DOM property `%s`. Did you mean `%s`?",
            t,
            o
          ), u[t] = !0;
      } else if (t !== o)
        return console.error(
          "React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",
          t,
          o
        ), u[t] = !0;
      switch (t) {
        case "dangerouslySetInnerHTML":
        case "children":
        case "style":
        case "suppressContentEditableWarning":
        case "suppressHydrationWarning":
        case "defaultValue":
        case "defaultChecked":
        case "innerHTML":
        case "ref":
          return !0;
        case "innerText":
        case "textContent":
          return !0;
      }
      switch (typeof n) {
        case "boolean":
          switch (t) {
            case "autoFocus":
            case "checked":
            case "multiple":
            case "muted":
            case "selected":
            case "contentEditable":
            case "spellCheck":
            case "draggable":
            case "value":
            case "autoReverse":
            case "externalResourcesRequired":
            case "focusable":
            case "preserveAlpha":
            case "allowFullScreen":
            case "async":
            case "autoPlay":
            case "controls":
            case "default":
            case "defer":
            case "disabled":
            case "disablePictureInPicture":
            case "disableRemotePlayback":
            case "formNoValidate":
            case "hidden":
            case "loop":
            case "noModule":
            case "noValidate":
            case "open":
            case "playsInline":
            case "readOnly":
            case "required":
            case "reversed":
            case "scoped":
            case "seamless":
            case "itemScope":
            case "capture":
            case "download":
            case "inert":
              return !0;
            default:
              return o = t.toLowerCase().slice(0, 5), o === "data-" || o === "aria-" ? !0 : (n ? console.error(
                'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',
                n,
                t,
                t,
                n,
                t
              ) : console.error(
                'Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',
                n,
                t,
                t,
                n,
                t,
                t,
                t
              ), u[t] = !0);
          }
        case "function":
        case "symbol":
          return u[t] = !0, !1;
        case "string":
          if (n === "false" || n === "true") {
            switch (t) {
              case "checked":
              case "selected":
              case "multiple":
              case "muted":
              case "allowFullScreen":
              case "async":
              case "autoPlay":
              case "controls":
              case "default":
              case "defer":
              case "disabled":
              case "disablePictureInPicture":
              case "disableRemotePlayback":
              case "formNoValidate":
              case "hidden":
              case "loop":
              case "noModule":
              case "noValidate":
              case "open":
              case "playsInline":
              case "readOnly":
              case "required":
              case "reversed":
              case "scoped":
              case "seamless":
              case "itemScope":
              case "inert":
                break;
              default:
                return !0;
            }
            console.error(
              "Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",
              n,
              t,
              n === "false" ? "The browser will interpret it as a truthy value." : 'Although this works, it will not work as expected if you pass the string "false".',
              t,
              n
            ), u[t] = !0;
          }
      }
      return !0;
    }
    function Nh(e, t, n) {
      var i = [], o;
      for (o in t)
        O0(e, o, t[o], n) || i.push(o);
      t = i.map(function(f) {
        return "`" + f + "`";
      }).join(", "), i.length === 1 ? console.error(
        "Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://react.dev/link/attribute-behavior ",
        t,
        e
      ) : 1 < i.length && console.error(
        "Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://react.dev/link/attribute-behavior ",
        t,
        e
      );
    }
    function no(e) {
      return g.test("" + e) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : e;
    }
    function Hi(e) {
      return e = e.target || e.srcElement || window, e.correspondingUseElement && (e = e.correspondingUseElement), e.nodeType === 3 ? e.parentNode : e;
    }
    function yn(e) {
      var t = rn(e);
      if (t && (e = t.stateNode)) {
        var n = e[Nl] || null;
        e: switch (e = t.stateNode, t.type) {
          case "input":
            if (Nu(
              e,
              n.value,
              n.defaultValue,
              n.defaultValue,
              n.checked,
              n.defaultChecked,
              n.type,
              n.name
            ), t = n.name, n.type === "radio" && t != null) {
              for (n = e; n.parentNode; ) n = n.parentNode;
              for (ct(t, "name"), n = n.querySelectorAll(
                'input[name="' + Il(
                  "" + t
                ) + '"][type="radio"]'
              ), t = 0; t < n.length; t++) {
                var i = n[t];
                if (i !== e && i.form === e.form) {
                  var o = i[Nl] || null;
                  if (!o)
                    throw Error(
                      "ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported."
                    );
                  Nu(
                    i,
                    o.value,
                    o.defaultValue,
                    o.defaultValue,
                    o.checked,
                    o.defaultChecked,
                    o.type,
                    o.name
                  );
                }
              }
              for (t = 0; t < n.length; t++)
                i = n[t], i.form === e.form && zh(i);
            }
            break e;
          case "textarea":
            C0(e, n.value, n.defaultValue);
            break e;
          case "select":
            t = n.value, t != null && Oi(e, !!n.multiple, t, !1);
        }
      }
    }
    function fr(e, t, n) {
      if (X) return e(t, n);
      X = !0;
      try {
        var i = e(t);
        return i;
      } finally {
        if (X = !1, (z !== null || j !== null) && (ai(), z && (t = z, e = j, j = z = null, yn(t), e)))
          for (t = 0; t < e.length; t++) yn(e[t]);
      }
    }
    function $n(e, t) {
      var n = e.stateNode;
      if (n === null) return null;
      var i = n[Nl] || null;
      if (i === null) return null;
      n = i[t];
      e: switch (t) {
        case "onClick":
        case "onClickCapture":
        case "onDoubleClick":
        case "onDoubleClickCapture":
        case "onMouseDown":
        case "onMouseDownCapture":
        case "onMouseMove":
        case "onMouseMoveCapture":
        case "onMouseUp":
        case "onMouseUpCapture":
        case "onMouseEnter":
          (i = !i.disabled) || (e = e.type, i = !(e === "button" || e === "input" || e === "select" || e === "textarea")), e = !i;
          break e;
        default:
          e = !1;
      }
      if (e) return null;
      if (n && typeof n != "function")
        throw Error(
          "Expected `" + t + "` listener to be a function, instead got a value of `" + typeof n + "` type."
        );
      return n;
    }
    function eu() {
      if (D) return D;
      var e, t = tt, n = t.length, i, o = "value" in se ? se.value : se.textContent, f = o.length;
      for (e = 0; e < n && t[e] === o[e]; e++) ;
      var d = n - e;
      for (i = 1; i <= d && t[n - i] === o[f - i]; i++) ;
      return D = o.slice(e, 1 < i ? 1 - i : void 0);
    }
    function uo(e) {
      var t = e.keyCode;
      return "charCode" in e ? (e = e.charCode, e === 0 && t === 13 && (e = 13)) : e = t, e === 10 && (e = 13), 32 <= e || e === 13 ? e : 0;
    }
    function Qi() {
      return !0;
    }
    function wh() {
      return !1;
    }
    function ml(e) {
      function t(n, i, o, f, d) {
        this._reactName = n, this._targetInst = o, this.type = i, this.nativeEvent = f, this.target = d, this.currentTarget = null;
        for (var h in e)
          e.hasOwnProperty(h) && (n = e[h], this[h] = n ? n(f) : f[h]);
        return this.isDefaultPrevented = (f.defaultPrevented != null ? f.defaultPrevented : f.returnValue === !1) ? Qi : wh, this.isPropagationStopped = wh, this;
      }
      return ee(t.prototype, {
        preventDefault: function() {
          this.defaultPrevented = !0;
          var n = this.nativeEvent;
          n && (n.preventDefault ? n.preventDefault() : typeof n.returnValue != "unknown" && (n.returnValue = !1), this.isDefaultPrevented = Qi);
        },
        stopPropagation: function() {
          var n = this.nativeEvent;
          n && (n.stopPropagation ? n.stopPropagation() : typeof n.cancelBubble != "unknown" && (n.cancelBubble = !0), this.isPropagationStopped = Qi);
        },
        persist: function() {
        },
        isPersistent: Qi
      }), t;
    }
    function sr(e) {
      var t = this.nativeEvent;
      return t.getModifierState ? t.getModifierState(e) : (e = CS[e]) ? !!t[e] : !1;
    }
    function rr() {
      return sr;
    }
    function Ll(e, t) {
      switch (e) {
        case "keyup":
          return wS.indexOf(t.keyCode) !== -1;
        case "keydown":
          return t.keyCode !== Pv;
        case "keypress":
        case "mousedown":
        case "focusout":
          return !0;
        default:
          return !1;
      }
    }
    function Lu(e) {
      return e = e.detail, typeof e == "object" && "data" in e ? e.data : null;
    }
    function dr(e, t) {
      switch (e) {
        case "compositionend":
          return Lu(t);
        case "keypress":
          return t.which !== eA ? null : (lA = !0, tA);
        case "textInput":
          return e = t.data, e === tA && lA ? null : e;
        default:
          return null;
      }
    }
    function mf(e, t) {
      if (Wd)
        return e === "compositionend" || !Kp && Ll(e, t) ? (e = eu(), D = tt = se = null, Wd = !1, e) : null;
      switch (e) {
        case "paste":
          return null;
        case "keypress":
          if (!(t.ctrlKey || t.altKey || t.metaKey) || t.ctrlKey && t.altKey) {
            if (t.char && 1 < t.char.length)
              return t.char;
            if (t.which)
              return String.fromCharCode(t.which);
          }
          return null;
        case "compositionend":
          return $v && t.locale !== "ko" ? null : t.data;
        default:
          return null;
      }
    }
    function z0(e) {
      var t = e && e.nodeName && e.nodeName.toLowerCase();
      return t === "input" ? !!YS[e.type] : t === "textarea";
    }
    function qh(e) {
      if (!M) return !1;
      e = "on" + e;
      var t = e in document;
      return t || (t = document.createElement("div"), t.setAttribute(e, "return;"), t = typeof t[e] == "function"), t;
    }
    function hr(e, t, n, i) {
      z ? j ? j.push(i) : j = [i] : z = i, t = Hn(t, "onChange"), 0 < t.length && (n = new O(
        "onChange",
        "change",
        null,
        n,
        i
      ), e.push({ event: n, listeners: t }));
    }
    function gf(e) {
      md(e, 0);
    }
    function Ni(e) {
      var t = _n(e);
      if (zh(t)) return e;
    }
    function Yh(e, t) {
      if (e === "change") return t;
    }
    function U0() {
      xm && (xm.detachEvent("onpropertychange", M0), Hm = xm = null);
    }
    function M0(e) {
      if (e.propertyName === "value" && Ni(Hm)) {
        var t = [];
        hr(
          t,
          Hm,
          e,
          Hi(e)
        ), fr(gf, t);
      }
    }
    function Op(e, t, n) {
      e === "focusin" ? (U0(), xm = t, Hm = n, xm.attachEvent("onpropertychange", M0)) : e === "focusout" && U0();
    }
    function Lh(e) {
      if (e === "selectionchange" || e === "keyup" || e === "keydown")
        return Ni(Hm);
    }
    function zp(e, t) {
      if (e === "click") return Ni(t);
    }
    function Up(e, t) {
      if (e === "input" || e === "change")
        return Ni(t);
    }
    function Mp(e, t) {
      return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
    }
    function pf(e, t) {
      if (va(e, t)) return !0;
      if (typeof e != "object" || e === null || typeof t != "object" || t === null)
        return !1;
      var n = Object.keys(e), i = Object.keys(t);
      if (n.length !== i.length) return !1;
      for (i = 0; i < n.length; i++) {
        var o = n[i];
        if (!Vt.call(t, o) || !va(e[o], t[o]))
          return !1;
      }
      return !0;
    }
    function B0(e) {
      for (; e && e.firstChild; ) e = e.firstChild;
      return e;
    }
    function jh(e, t) {
      var n = B0(e);
      e = 0;
      for (var i; n; ) {
        if (n.nodeType === 3) {
          if (i = e + n.textContent.length, e <= t && i >= t)
            return { node: n, offset: t - e };
          e = i;
        }
        e: {
          for (; n; ) {
            if (n.nextSibling) {
              n = n.nextSibling;
              break e;
            }
            n = n.parentNode;
          }
          n = void 0;
        }
        n = B0(n);
      }
    }
    function x0(e, t) {
      return e && t ? e === t ? !0 : e && e.nodeType === 3 ? !1 : t && t.nodeType === 3 ? x0(e, t.parentNode) : "contains" in e ? e.contains(t) : e.compareDocumentPosition ? !!(e.compareDocumentPosition(t) & 16) : !1 : !1;
    }
    function H0(e) {
      e = e != null && e.ownerDocument != null && e.ownerDocument.defaultView != null ? e.ownerDocument.defaultView : window;
      for (var t = Qu(e.document); t instanceof e.HTMLIFrameElement; ) {
        try {
          var n = typeof t.contentWindow.location.href == "string";
        } catch {
          n = !1;
        }
        if (n) e = t.contentWindow;
        else break;
        t = Qu(e.document);
      }
      return t;
    }
    function Vh(e) {
      var t = e && e.nodeName && e.nodeName.toLowerCase();
      return t && (t === "input" && (e.type === "text" || e.type === "search" || e.type === "tel" || e.type === "url" || e.type === "password") || t === "textarea" || e.contentEditable === "true");
    }
    function Q0(e, t, n) {
      var i = n.window === n ? n.document : n.nodeType === 9 ? n : n.ownerDocument;
      Ip || Id == null || Id !== Qu(i) || (i = Id, "selectionStart" in i && Vh(i) ? i = { start: i.selectionStart, end: i.selectionEnd } : (i = (i.ownerDocument && i.ownerDocument.defaultView || window).getSelection(), i = {
        anchorNode: i.anchorNode,
        anchorOffset: i.anchorOffset,
        focusNode: i.focusNode,
        focusOffset: i.focusOffset
      }), Qm && pf(Qm, i) || (Qm = i, i = Hn(Wp, "onSelect"), 0 < i.length && (t = new O(
        "onSelect",
        "select",
        null,
        t,
        n
      ), e.push({ event: t, listeners: i }), t.target = Id)));
    }
    function tu(e, t) {
      var n = {};
      return n[e.toLowerCase()] = t.toLowerCase(), n["Webkit" + e] = "webkit" + t, n["Moz" + e] = "moz" + t, n;
    }
    function wi(e) {
      if (Fp[e]) return Fp[e];
      if (!Fd[e]) return e;
      var t = Fd[e], n;
      for (n in t)
        if (t.hasOwnProperty(n) && n in nA)
          return Fp[e] = t[n];
      return e;
    }
    function ja(e, t) {
      fA.set(e, t), Bu(t, [e]);
    }
    function ha(e, t) {
      if (typeof e == "object" && e !== null) {
        var n = Pp.get(e);
        return n !== void 0 ? n : (t = {
          value: e,
          source: t,
          stack: sa(t)
        }, Pp.set(e, t), t);
      }
      return {
        value: e,
        source: t,
        stack: sa(t)
      };
    }
    function vf() {
      for (var e = _d, t = $p = _d = 0; t < e; ) {
        var n = Yn[t];
        Yn[t++] = null;
        var i = Yn[t];
        Yn[t++] = null;
        var o = Yn[t];
        Yn[t++] = null;
        var f = Yn[t];
        if (Yn[t++] = null, i !== null && o !== null) {
          var d = i.pending;
          d === null ? o.next = o : (o.next = d.next, d.next = o), i.pending = o;
        }
        f !== 0 && N0(n, o, f);
      }
    }
    function yr(e, t, n, i) {
      Yn[_d++] = e, Yn[_d++] = t, Yn[_d++] = n, Yn[_d++] = i, $p |= i, e.lanes |= i, e = e.alternate, e !== null && (e.lanes |= i);
    }
    function Gh(e, t, n, i) {
      return yr(e, t, n, i), mr(e);
    }
    function Fl(e, t) {
      return yr(e, null, null, t), mr(e);
    }
    function N0(e, t, n) {
      e.lanes |= n;
      var i = e.alternate;
      i !== null && (i.lanes |= n);
      for (var o = !1, f = e.return; f !== null; )
        f.childLanes |= n, i = f.alternate, i !== null && (i.childLanes |= n), f.tag === 22 && (e = f.stateNode, e === null || e._visibility & Bg || (o = !0)), e = f, f = f.return;
      return e.tag === 3 ? (f = e.stateNode, o && t !== null && (o = 31 - Jl(n), e = f.hiddenUpdates, i = e[o], i === null ? e[o] = [t] : i.push(t), t.lane = n | 536870912), f) : null;
    }
    function mr(e) {
      if (t0 > ob)
        throw Xs = t0 = 0, l0 = zv = null, Error(
          "Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops."
        );
      Xs > fb && (Xs = 0, l0 = null, console.error(
        "Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."
      )), e.alternate === null && (e.flags & 4098) !== 0 && sd(e);
      for (var t = e, n = t.return; n !== null; )
        t.alternate === null && (t.flags & 4098) !== 0 && sd(e), t = n, n = t.return;
      return t.tag === 3 ? t.stateNode : null;
    }
    function qi(e) {
      if (Ln === null) return e;
      var t = Ln(e);
      return t === void 0 ? e : t.current;
    }
    function Zh(e) {
      if (Ln === null) return e;
      var t = Ln(e);
      return t === void 0 ? e != null && typeof e.render == "function" && (t = qi(e.render), e.render !== t) ? (t = { $$typeof: ps, render: t }, e.displayName !== void 0 && (t.displayName = e.displayName), t) : e : t.current;
    }
    function w0(e, t) {
      if (Ln === null) return !1;
      var n = e.elementType;
      t = t.type;
      var i = !1, o = typeof t == "object" && t !== null ? t.$$typeof : null;
      switch (e.tag) {
        case 1:
          typeof t == "function" && (i = !0);
          break;
        case 0:
          (typeof t == "function" || o === Hl) && (i = !0);
          break;
        case 11:
          (o === ps || o === Hl) && (i = !0);
          break;
        case 14:
        case 15:
          (o === vs || o === Hl) && (i = !0);
          break;
        default:
          return !1;
      }
      return !!(i && (e = Ln(n), e !== void 0 && e === Ln(t)));
    }
    function q0(e) {
      Ln !== null && typeof WeakSet == "function" && (Pd === null && (Pd = /* @__PURE__ */ new WeakSet()), Pd.add(e));
    }
    function Af(e, t, n) {
      var i = e.alternate, o = e.child, f = e.sibling, d = e.tag, h = e.type, m = null;
      switch (d) {
        case 0:
        case 15:
        case 1:
          m = h;
          break;
        case 11:
          m = h.render;
      }
      if (Ln === null)
        throw Error("Expected resolveFamily to be set during hot reload.");
      var p = !1;
      h = !1, m !== null && (m = Ln(m), m !== void 0 && (n.has(m) ? h = !0 : t.has(m) && (d === 1 ? h = !0 : p = !0))), Pd !== null && (Pd.has(e) || i !== null && Pd.has(i)) && (h = !0), h && (e._debugNeedsRemount = !0), (h || p) && (i = Fl(e, 2), i !== null && wt(i, e, 2)), o === null || h || Af(
        o,
        t,
        n
      ), f !== null && Af(
        f,
        t,
        n
      );
    }
    function Sf(e, t, n, i) {
      this.tag = e, this.key = n, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = t, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = i, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null, this.actualDuration = -0, this.actualStartTime = -1.1, this.treeBaseDuration = this.selfBaseDuration = -0, this._debugTask = this._debugStack = this._debugOwner = this._debugInfo = null, this._debugNeedsRemount = !1, this._debugHookTypes = null, rA || typeof Object.preventExtensions != "function" || Object.preventExtensions(this);
    }
    function Xh(e) {
      return e = e.prototype, !(!e || !e.isReactComponent);
    }
    function mn(e, t) {
      var n = e.alternate;
      switch (n === null ? (n = ye(
        e.tag,
        t,
        e.key,
        e.mode
      ), n.elementType = e.elementType, n.type = e.type, n.stateNode = e.stateNode, n._debugOwner = e._debugOwner, n._debugStack = e._debugStack, n._debugTask = e._debugTask, n._debugHookTypes = e._debugHookTypes, n.alternate = e, e.alternate = n) : (n.pendingProps = t, n.type = e.type, n.flags = 0, n.subtreeFlags = 0, n.deletions = null, n.actualDuration = -0, n.actualStartTime = -1.1), n.flags = e.flags & 65011712, n.childLanes = e.childLanes, n.lanes = e.lanes, n.child = e.child, n.memoizedProps = e.memoizedProps, n.memoizedState = e.memoizedState, n.updateQueue = e.updateQueue, t = e.dependencies, n.dependencies = t === null ? null : {
        lanes: t.lanes,
        firstContext: t.firstContext,
        _debugThenableState: t._debugThenableState
      }, n.sibling = e.sibling, n.index = e.index, n.ref = e.ref, n.refCleanup = e.refCleanup, n.selfBaseDuration = e.selfBaseDuration, n.treeBaseDuration = e.treeBaseDuration, n._debugInfo = e._debugInfo, n._debugNeedsRemount = e._debugNeedsRemount, n.tag) {
        case 0:
        case 15:
          n.type = qi(e.type);
          break;
        case 1:
          n.type = qi(e.type);
          break;
        case 11:
          n.type = Zh(e.type);
      }
      return n;
    }
    function Jh(e, t) {
      e.flags &= 65011714;
      var n = e.alternate;
      return n === null ? (e.childLanes = 0, e.lanes = t, e.child = null, e.subtreeFlags = 0, e.memoizedProps = null, e.memoizedState = null, e.updateQueue = null, e.dependencies = null, e.stateNode = null, e.selfBaseDuration = 0, e.treeBaseDuration = 0) : (e.childLanes = n.childLanes, e.lanes = n.lanes, e.child = n.child, e.subtreeFlags = 0, e.deletions = null, e.memoizedProps = n.memoizedProps, e.memoizedState = n.memoizedState, e.updateQueue = n.updateQueue, e.type = n.type, t = n.dependencies, e.dependencies = t === null ? null : {
        lanes: t.lanes,
        firstContext: t.firstContext,
        _debugThenableState: t._debugThenableState
      }, e.selfBaseDuration = n.selfBaseDuration, e.treeBaseDuration = n.treeBaseDuration), e;
    }
    function gr(e, t, n, i, o, f) {
      var d = 0, h = e;
      if (typeof e == "function")
        Xh(e) && (d = 1), h = qi(h);
      else if (typeof e == "string")
        d = R(), d = og(e, n, d) ? 26 : e === "html" || e === "head" || e === "body" ? 27 : 5;
      else
        e: switch (e) {
          case et:
            return t = ye(31, n, t, o), t.elementType = et, t.lanes = f, t;
          case Ec:
            return ju(
              n.children,
              o,
              f,
              t
            );
          case qo:
            d = 8, o |= fa, o |= Cu;
            break;
          case Tc:
            return e = n, i = o, typeof e.id != "string" && console.error(
              'Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',
              typeof e.id
            ), t = ye(12, e, t, i | kl), t.elementType = Tc, t.lanes = f, t.stateNode = { effectDuration: 0, passiveEffectDuration: 0 }, t;
          case vm:
            return t = ye(13, n, t, o), t.elementType = vm, t.lanes = f, t;
          case xd:
            return t = ye(19, n, t, o), t.elementType = xd, t.lanes = f, t;
          default:
            if (typeof e == "object" && e !== null)
              switch (e.$$typeof) {
                case Bd:
                case an:
                  d = 10;
                  break e;
                case di:
                  d = 9;
                  break e;
                case ps:
                  d = 11, h = Zh(h);
                  break e;
                case vs:
                  d = 14;
                  break e;
                case Hl:
                  d = 16, h = null;
                  break e;
              }
            h = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? n = "null" : tl(e) ? n = "array" : e !== void 0 && e.$$typeof === ln ? (n = "<" + ($(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, (d = i ? Ae(i) : null) && (h += `

Check the render method of \`` + d + "`."), d = 29, n = Error(
              "Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: " + (n + "." + h)
            ), h = null;
        }
      return t = ye(d, n, t, o), t.elementType = e, t.type = h, t.lanes = f, t._debugOwner = i, t;
    }
    function bf(e, t, n) {
      return t = gr(
        e.type,
        e.key,
        e.props,
        e._owner,
        t,
        n
      ), t._debugOwner = e._owner, t._debugStack = e._debugStack, t._debugTask = e._debugTask, t;
    }
    function ju(e, t, n, i) {
      return e = ye(7, e, i, t), e.lanes = n, e;
    }
    function Vu(e, t, n) {
      return e = ye(6, e, null, t), e.lanes = n, e;
    }
    function kh(e, t, n) {
      return t = ye(
        4,
        e.children !== null ? e.children : [],
        e.key,
        t
      ), t.lanes = n, t.stateNode = {
        containerInfo: e.containerInfo,
        pendingChildren: null,
        implementation: e.implementation
      }, t;
    }
    function Yi(e, t) {
      Va(), $d[eh++] = Hg, $d[eh++] = xg, xg = e, Hg = t;
    }
    function Y0(e, t, n) {
      Va(), jn[Vn++] = Mc, jn[Vn++] = Bc, jn[Vn++] = Hs, Hs = e;
      var i = Mc;
      e = Bc;
      var o = 32 - Jl(i) - 1;
      i &= ~(1 << o), n += 1;
      var f = 32 - Jl(t) + o;
      if (30 < f) {
        var d = o - o % 5;
        f = (i & (1 << d) - 1).toString(32), i >>= d, o -= d, Mc = 1 << 32 - Jl(t) + o | n << o | i, Bc = f + e;
      } else
        Mc = 1 << f | n << o | i, Bc = e;
    }
    function pr(e) {
      Va(), e.return !== null && (Yi(e, 1), Y0(e, 1, 0));
    }
    function vr(e) {
      for (; e === xg; )
        xg = $d[--eh], $d[eh] = null, Hg = $d[--eh], $d[eh] = null;
      for (; e === Hs; )
        Hs = jn[--Vn], jn[Vn] = null, Bc = jn[--Vn], jn[Vn] = null, Mc = jn[--Vn], jn[Vn] = null;
    }
    function Va() {
      _e || console.error(
        "Expected to be hydrating. This is a bug in React. Please file an issue."
      );
    }
    function Ga(e, t) {
      if (e.return === null) {
        if (Gn === null)
          Gn = {
            fiber: e,
            children: [],
            serverProps: void 0,
            serverTail: [],
            distanceFromLeaf: t
          };
        else {
          if (Gn.fiber !== e)
            throw Error(
              "Saw multiple hydration diff roots in a pass. This is a bug in React."
            );
          Gn.distanceFromLeaf > t && (Gn.distanceFromLeaf = t);
        }
        return Gn;
      }
      var n = Ga(
        e.return,
        t + 1
      ).children;
      return 0 < n.length && n[n.length - 1].fiber === e ? (n = n[n.length - 1], n.distanceFromLeaf > t && (n.distanceFromLeaf = t), n) : (t = {
        fiber: e,
        children: [],
        serverProps: void 0,
        serverTail: [],
        distanceFromLeaf: t
      }, n.push(t), t);
    }
    function Kh(e, t) {
      xc || (e = Ga(e, 0), e.serverProps = null, t !== null && (t = aa(t), e.serverTail.push(t)));
    }
    function gn(e) {
      var t = 1 < arguments.length && arguments[1] !== void 0 ? arguments[1] : !1, n = "", i = Gn;
      throw i !== null && (Gn = null, n = df(i)), io(
        ha(
          Error(
            "Hydration failed because the server rendered " + (t ? "text" : "HTML") + ` didn't match the client. As a result this tree will be regenerated on the client. This can happen if a SSR-ed Client Component used:

- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

https://react.dev/link/hydration-mismatch` + n
          ),
          e
        )
      ), ev;
    }
    function Wh(e) {
      var t = e.stateNode, n = e.type, i = e.memoizedProps;
      switch (t[Ql] = e, t[Nl] = i, us(n, i), n) {
        case "dialog":
          Se("cancel", t), Se("close", t);
          break;
        case "iframe":
        case "object":
        case "embed":
          Se("load", t);
          break;
        case "video":
        case "audio":
          for (n = 0; n < a0.length; n++)
            Se(a0[n], t);
          break;
        case "source":
          Se("error", t);
          break;
        case "img":
        case "image":
        case "link":
          Se("error", t), Se("load", t);
          break;
        case "details":
          Se("toggle", t);
          break;
        case "input":
          Hu("input", i), Se("invalid", t), Di(t, i), $c(
            t,
            i.value,
            i.defaultValue,
            i.checked,
            i.defaultChecked,
            i.type,
            i.name,
            !0
          ), nr(t);
          break;
        case "option":
          Wt(t, i);
          break;
        case "select":
          Hu("select", i), Se("invalid", t), qu(t, i);
          break;
        case "textarea":
          Hu("textarea", i), Se("invalid", t), zi(t, i), Mh(
            t,
            i.value,
            i.defaultValue,
            i.children
          ), nr(t);
      }
      n = i.children, typeof n != "string" && typeof n != "number" && typeof n != "bigint" || t.textContent === "" + n || i.suppressHydrationWarning === !0 || hc(t.textContent, n) ? (i.popover != null && (Se("beforetoggle", t), Se("toggle", t)), i.onScroll != null && Se("scroll", t), i.onScrollEnd != null && Se("scrollend", t), i.onClick != null && (t.onclick = is), t = !0) : t = !1, t || gn(e, !0);
    }
    function Ih(e) {
      for (Aa = e.return; Aa; )
        switch (Aa.tag) {
          case 5:
          case 13:
            Si = !1;
            return;
          case 27:
          case 3:
            Si = !0;
            return;
          default:
            Aa = Aa.return;
        }
    }
    function Li(e) {
      if (e !== Aa) return !1;
      if (!_e)
        return Ih(e), _e = !0, !1;
      var t = e.tag, n;
      if ((n = t !== 3 && t !== 27) && ((n = t === 5) && (n = e.type, n = !(n !== "form" && n !== "button") || zt(e.type, e.memoizedProps)), n = !n), n && Gt) {
        for (n = Gt; n; ) {
          var i = Ga(e, 0), o = aa(n);
          i.serverTail.push(o), n = o.type === "Suspense" ? na(n) : la(n.nextSibling);
        }
        gn(e);
      }
      if (Ih(e), t === 13) {
        if (e = e.memoizedState, e = e !== null ? e.dehydrated : null, !e)
          throw Error(
            "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
          );
        Gt = na(e);
      } else
        t === 27 ? (t = Gt, Nn(e.type) ? (e = jv, jv = null, Gt = e) : Gt = t) : Gt = Aa ? la(e.stateNode.nextSibling) : null;
      return !0;
    }
    function ji() {
      Gt = Aa = null, xc = _e = !1;
    }
    function Fh() {
      var e = Qs;
      return e !== null && (Ta === null ? Ta = e : Ta.push.apply(
        Ta,
        e
      ), Qs = null), e;
    }
    function io(e) {
      Qs === null ? Qs = [e] : Qs.push(e);
    }
    function _h() {
      var e = Gn;
      if (e !== null) {
        Gn = null;
        for (var t = df(e); 0 < e.children.length; )
          e = e.children[0];
        ae(e.fiber, function() {
          console.error(
            `A tree hydrated but some attributes of the server rendered HTML didn't match the client properties. This won't be patched up. This can happen if a SSR-ed Client Component used:

- A server/client branch \`if (typeof window !== 'undefined')\`.
- Variable input such as \`Date.now()\` or \`Math.random()\` which changes each time it's called.
- Date formatting in a user's locale which doesn't match the server.
- External changing data without sending a snapshot of it along with the HTML.
- Invalid HTML tag nesting.

It can also happen if the client has a browser extension installed which messes with the HTML before React loaded.

%s%s`,
            "https://react.dev/link/hydration-mismatch",
            t
          );
        });
      }
    }
    function Ar() {
      th = Qg = null, lh = !1;
    }
    function Gu(e, t, n) {
      Ce(tv, t._currentValue, e), t._currentValue = n, Ce(lv, t._currentRenderer, e), t._currentRenderer !== void 0 && t._currentRenderer !== null && t._currentRenderer !== mA && console.error(
        "Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."
      ), t._currentRenderer = mA;
    }
    function lu(e, t) {
      e._currentValue = tv.current;
      var n = lv.current;
      Ye(lv, t), e._currentRenderer = n, Ye(tv, t);
    }
    function Ph(e, t, n) {
      for (; e !== null; ) {
        var i = e.alternate;
        if ((e.childLanes & t) !== t ? (e.childLanes |= t, i !== null && (i.childLanes |= t)) : i !== null && (i.childLanes & t) !== t && (i.childLanes |= t), e === n) break;
        e = e.return;
      }
      e !== n && console.error(
        "Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue."
      );
    }
    function $h(e, t, n, i) {
      var o = e.child;
      for (o !== null && (o.return = e); o !== null; ) {
        var f = o.dependencies;
        if (f !== null) {
          var d = o.child;
          f = f.firstContext;
          e: for (; f !== null; ) {
            var h = f;
            f = o;
            for (var m = 0; m < t.length; m++)
              if (h.context === t[m]) {
                f.lanes |= n, h = f.alternate, h !== null && (h.lanes |= n), Ph(
                  f.return,
                  n,
                  e
                ), i || (d = null);
                break e;
              }
            f = h.next;
          }
        } else if (o.tag === 18) {
          if (d = o.return, d === null)
            throw Error(
              "We just came from a parent so we must have had a parent. This is a bug in React."
            );
          d.lanes |= n, f = d.alternate, f !== null && (f.lanes |= n), Ph(
            d,
            n,
            e
          ), d = null;
        } else d = o.child;
        if (d !== null) d.return = o;
        else
          for (d = o; d !== null; ) {
            if (d === e) {
              d = null;
              break;
            }
            if (o = d.sibling, o !== null) {
              o.return = d.return, d = o;
              break;
            }
            d = d.return;
          }
        o = d;
      }
    }
    function gl(e, t, n, i) {
      e = null;
      for (var o = t, f = !1; o !== null; ) {
        if (!f) {
          if ((o.flags & 524288) !== 0) f = !0;
          else if ((o.flags & 262144) !== 0) break;
        }
        if (o.tag === 10) {
          var d = o.alternate;
          if (d === null)
            throw Error("Should have a current fiber. This is a bug in React.");
          if (d = d.memoizedProps, d !== null) {
            var h = o.type;
            va(o.pendingProps.value, d.value) || (e !== null ? e.push(h) : e = [h]);
          }
        } else if (o === Ss.current) {
          if (d = o.alternate, d === null)
            throw Error("Should have a current fiber. This is a bug in React.");
          d.memoizedState.memoizedState !== o.memoizedState.memoizedState && (e !== null ? e.push(c0) : e = [c0]);
        }
        o = o.return;
      }
      e !== null && $h(
        t,
        e,
        n,
        i
      ), t.flags |= 262144;
    }
    function Zu(e) {
      for (e = e.firstContext; e !== null; ) {
        if (!va(
          e.context._currentValue,
          e.memoizedValue
        ))
          return !0;
        e = e.next;
      }
      return !1;
    }
    function Xu(e) {
      Qg = e, th = null, e = e.dependencies, e !== null && (e.firstContext = null);
    }
    function vt(e) {
      return lh && console.error(
        "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
      ), ey(Qg, e);
    }
    function Ef(e, t) {
      return Qg === null && Xu(e), ey(e, t);
    }
    function ey(e, t) {
      var n = t._currentValue;
      if (t = { context: t, memoizedValue: n, next: null }, th === null) {
        if (e === null)
          throw Error(
            "Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."
          );
        th = t, e.dependencies = {
          lanes: 0,
          firstContext: t,
          _debugThenableState: null
        }, e.flags |= 524288;
      } else th = th.next = t;
      return n;
    }
    function Tf() {
      return {
        controller: new KS(),
        data: /* @__PURE__ */ new Map(),
        refCount: 0
      };
    }
    function Vi(e) {
      e.controller.signal.aborted && console.warn(
        "A cache instance was retained after it was already freed. This likely indicates a bug in React."
      ), e.refCount++;
    }
    function pn(e) {
      e.refCount--, 0 > e.refCount && console.warn(
        "A cache instance was released after it was already freed. This likely indicates a bug in React."
      ), e.refCount === 0 && WS(IS, function() {
        e.controller.abort();
      });
    }
    function Za() {
      var e = Ns;
      return Ns = 0, e;
    }
    function Ju(e) {
      var t = Ns;
      return Ns = e, t;
    }
    function Gi(e) {
      var t = Ns;
      return Ns += e, t;
    }
    function _l() {
      var e = Hc;
      return Hc = -1.1, e;
    }
    function It(e) {
      0 <= e && (Hc = e);
    }
    function ku(e) {
      Sa = ah(), 0 > e.actualStartTime && (e.actualStartTime = Sa);
    }
    function Cf(e) {
      if (0 <= Sa) {
        var t = ah() - Sa;
        e.actualDuration += t, e.selfBaseDuration = t, Sa = -1;
      }
    }
    function ty(e) {
      if (0 <= Sa) {
        var t = ah() - Sa;
        e.actualDuration += t, Sa = -1;
      }
    }
    function Ol() {
      if (0 <= Sa) {
        var e = ah() - Sa;
        Sa = -1, Ns += e;
      }
    }
    function Xa() {
      Sa = ah(), 0 > Hc && (Hc = Sa);
    }
    function Rf(e) {
      for (var t = e.child; t; )
        e.actualDuration += t.actualDuration, t = t.sibling;
    }
    function L0(e, t) {
      if (Nm === null) {
        var n = Nm = [];
        av = 0, ws = xl(), nh = {
          status: "pending",
          value: void 0,
          then: function(i) {
            n.push(i);
          }
        };
      }
      return av++, t.then(j0, j0), t;
    }
    function j0() {
      if (--av === 0 && Nm !== null) {
        nh !== null && (nh.status = "fulfilled");
        var e = Nm;
        Nm = null, ws = 0, nh = null;
        for (var t = 0; t < e.length; t++) (0, e[t])();
      }
    }
    function Bp(e, t) {
      var n = [], i = {
        status: "pending",
        value: null,
        reason: null,
        then: function(o) {
          n.push(o);
        }
      };
      return e.then(
        function() {
          i.status = "fulfilled", i.value = t;
          for (var o = 0; o < n.length; o++) (0, n[o])(t);
        },
        function(o) {
          for (i.status = "rejected", i.reason = o, o = 0; o < n.length; o++)
            (0, n[o])(void 0);
        }
      ), i;
    }
    function ly() {
      var e = qs.current;
      return e !== null ? e : Tt.pooledCache;
    }
    function Df(e, t) {
      t === null ? Ce(qs, qs.current, e) : Ce(qs, t.pool, e);
    }
    function ay() {
      var e = ly();
      return e === null ? null : { parent: El._currentValue, pool: e };
    }
    function Sr() {
      return { didWarnAboutUncachedPromise: !1, thenables: [] };
    }
    function Ra(e) {
      return e = e.status, e === "fulfilled" || e === "rejected";
    }
    function Of() {
    }
    function ya(e, t, n) {
      N.actQueue !== null && (N.didUsePromise = !0);
      var i = e.thenables;
      switch (n = i[n], n === void 0 ? i.push(t) : n !== t && (e.didWarnAboutUncachedPromise || (e.didWarnAboutUncachedPromise = !0, console.error(
        "A component was suspended by an uncached promise. Creating promises inside a Client Component or hook is not yet supported, except via a Suspense-compatible library or framework."
      )), t.then(Of, Of), t = n), t.status) {
        case "fulfilled":
          return t.value;
        case "rejected":
          throw e = t.reason, Zi(e), e;
        default:
          if (typeof t.status == "string")
            t.then(Of, Of);
          else {
            if (e = Tt, e !== null && 100 < e.shellSuspendCounter)
              throw Error(
                "An unknown Component is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."
              );
            e = t, e.status = "pending", e.then(
              function(o) {
                if (t.status === "pending") {
                  var f = t;
                  f.status = "fulfilled", f.value = o;
                }
              },
              function(o) {
                if (t.status === "pending") {
                  var f = t;
                  f.status = "rejected", f.reason = o;
                }
              }
            );
          }
          switch (t.status) {
            case "fulfilled":
              return t.value;
            case "rejected":
              throw e = t.reason, Zi(e), e;
          }
          throw uh = t, Vg = !0, Gm;
      }
    }
    function ma() {
      if (uh === null)
        throw Error(
          "Expected a suspended thenable. This is a bug in React. Please file an issue."
        );
      var e = uh;
      return uh = null, Vg = !1, e;
    }
    function Zi(e) {
      if (e === Gm || e === Lg)
        throw Error(
          "Hooks are not supported inside an async component. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server."
        );
    }
    function Ft(e) {
      var t = we;
      return e != null && (we = t === null ? e : t.concat(e)), t;
    }
    function Xi(e, t, n) {
      for (var i = Object.keys(e.props), o = 0; o < i.length; o++) {
        var f = i[o];
        if (f !== "children" && f !== "key") {
          t === null && (t = bf(e, n.mode, 0), t._debugInfo = we, t.return = n), ae(
            t,
            function(d) {
              console.error(
                "Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
                d
              );
            },
            f
          );
          break;
        }
      }
    }
    function Ji(e) {
      var t = Zm;
      return Zm += 1, ih === null && (ih = Sr()), ya(ih, e, t);
    }
    function ki(e, t) {
      t = t.props.ref, e.ref = t !== void 0 ? t : null;
    }
    function au(e, t) {
      throw t.$$typeof === pm ? Error(
        `A React Element from an older version of React was rendered. This is not supported. It can happen if:
- Multiple copies of the "react" package is used.
- A library pre-bundled an old copy of "react" or "react/jsx-runtime".
- A compiler tries to "inline" JSX instead of using the runtime.`
      ) : (e = Object.prototype.toString.call(t), Error(
        "Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead."
      ));
    }
    function zf(e, t) {
      var n = te(e) || "Component";
      HA[n] || (HA[n] = !0, t = t.displayName || t.name || "Component", e.tag === 3 ? console.error(
        `Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
  root.render(%s)`,
        t,
        t,
        t
      ) : console.error(
        `Functions are not valid as a React child. This may happen if you return %s instead of <%s /> from render. Or maybe you meant to call this function rather than return it.
  <%s>{%s}</%s>`,
        t,
        t,
        n,
        t,
        n
      ));
    }
    function Ki(e, t) {
      var n = te(e) || "Component";
      QA[n] || (QA[n] = !0, t = String(t), e.tag === 3 ? console.error(
        `Symbols are not valid as a React child.
  root.render(%s)`,
        t
      ) : console.error(
        `Symbols are not valid as a React child.
  <%s>%s</%s>`,
        n,
        t,
        n
      ));
    }
    function Wi(e) {
      function t(S, b) {
        if (e) {
          var T = S.deletions;
          T === null ? (S.deletions = [b], S.flags |= 16) : T.push(b);
        }
      }
      function n(S, b) {
        if (!e) return null;
        for (; b !== null; )
          t(S, b), b = b.sibling;
        return null;
      }
      function i(S) {
        for (var b = /* @__PURE__ */ new Map(); S !== null; )
          S.key !== null ? b.set(S.key, S) : b.set(S.index, S), S = S.sibling;
        return b;
      }
      function o(S, b) {
        return S = mn(S, b), S.index = 0, S.sibling = null, S;
      }
      function f(S, b, T) {
        return S.index = T, e ? (T = S.alternate, T !== null ? (T = T.index, T < b ? (S.flags |= 67108866, b) : T) : (S.flags |= 67108866, b)) : (S.flags |= 1048576, b);
      }
      function d(S) {
        return e && S.alternate === null && (S.flags |= 67108866), S;
      }
      function h(S, b, T, L) {
        return b === null || b.tag !== 6 ? (b = Vu(
          T,
          S.mode,
          L
        ), b.return = S, b._debugOwner = S, b._debugTask = S._debugTask, b._debugInfo = we, b) : (b = o(b, T), b.return = S, b._debugInfo = we, b);
      }
      function m(S, b, T, L) {
        var _ = T.type;
        return _ === Ec ? (b = Q(
          S,
          b,
          T.props.children,
          L,
          T.key
        ), Xi(T, b, S), b) : b !== null && (b.elementType === _ || w0(b, T) || typeof _ == "object" && _ !== null && _.$$typeof === Hl && Jo(_) === b.type) ? (b = o(b, T.props), ki(b, T), b.return = S, b._debugOwner = T._owner, b._debugInfo = we, b) : (b = bf(T, S.mode, L), ki(b, T), b.return = S, b._debugInfo = we, b);
      }
      function p(S, b, T, L) {
        return b === null || b.tag !== 4 || b.stateNode.containerInfo !== T.containerInfo || b.stateNode.implementation !== T.implementation ? (b = kh(T, S.mode, L), b.return = S, b._debugInfo = we, b) : (b = o(b, T.children || []), b.return = S, b._debugInfo = we, b);
      }
      function Q(S, b, T, L, _) {
        return b === null || b.tag !== 7 ? (b = ju(
          T,
          S.mode,
          L,
          _
        ), b.return = S, b._debugOwner = S, b._debugTask = S._debugTask, b._debugInfo = we, b) : (b = o(b, T), b.return = S, b._debugInfo = we, b);
      }
      function H(S, b, T) {
        if (typeof b == "string" && b !== "" || typeof b == "number" || typeof b == "bigint")
          return b = Vu(
            "" + b,
            S.mode,
            T
          ), b.return = S, b._debugOwner = S, b._debugTask = S._debugTask, b._debugInfo = we, b;
        if (typeof b == "object" && b !== null) {
          switch (b.$$typeof) {
            case ln:
              return T = bf(
                b,
                S.mode,
                T
              ), ki(T, b), T.return = S, S = Ft(b._debugInfo), T._debugInfo = we, we = S, T;
            case ri:
              return b = kh(
                b,
                S.mode,
                T
              ), b.return = S, b._debugInfo = we, b;
            case Hl:
              var L = Ft(b._debugInfo);
              return b = Jo(b), S = H(S, b, T), we = L, S;
          }
          if (tl(b) || F(b))
            return T = ju(
              b,
              S.mode,
              T,
              null
            ), T.return = S, T._debugOwner = S, T._debugTask = S._debugTask, S = Ft(b._debugInfo), T._debugInfo = we, we = S, T;
          if (typeof b.then == "function")
            return L = Ft(b._debugInfo), S = H(
              S,
              Ji(b),
              T
            ), we = L, S;
          if (b.$$typeof === an)
            return H(
              S,
              Ef(S, b),
              T
            );
          au(S, b);
        }
        return typeof b == "function" && zf(S, b), typeof b == "symbol" && Ki(S, b), null;
      }
      function B(S, b, T, L) {
        var _ = b !== null ? b.key : null;
        if (typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint")
          return _ !== null ? null : h(S, b, "" + T, L);
        if (typeof T == "object" && T !== null) {
          switch (T.$$typeof) {
            case ln:
              return T.key === _ ? (_ = Ft(T._debugInfo), S = m(
                S,
                b,
                T,
                L
              ), we = _, S) : null;
            case ri:
              return T.key === _ ? p(S, b, T, L) : null;
            case Hl:
              return _ = Ft(T._debugInfo), T = Jo(T), S = B(
                S,
                b,
                T,
                L
              ), we = _, S;
          }
          if (tl(T) || F(T))
            return _ !== null ? null : (_ = Ft(T._debugInfo), S = Q(
              S,
              b,
              T,
              L,
              null
            ), we = _, S);
          if (typeof T.then == "function")
            return _ = Ft(T._debugInfo), S = B(
              S,
              b,
              Ji(T),
              L
            ), we = _, S;
          if (T.$$typeof === an)
            return B(
              S,
              b,
              Ef(S, T),
              L
            );
          au(S, T);
        }
        return typeof T == "function" && zf(S, T), typeof T == "symbol" && Ki(S, T), null;
      }
      function Y(S, b, T, L, _) {
        if (typeof L == "string" && L !== "" || typeof L == "number" || typeof L == "bigint")
          return S = S.get(T) || null, h(b, S, "" + L, _);
        if (typeof L == "object" && L !== null) {
          switch (L.$$typeof) {
            case ln:
              return T = S.get(
                L.key === null ? T : L.key
              ) || null, S = Ft(L._debugInfo), b = m(
                b,
                T,
                L,
                _
              ), we = S, b;
            case ri:
              return S = S.get(
                L.key === null ? T : L.key
              ) || null, p(b, S, L, _);
            case Hl:
              var Oe = Ft(L._debugInfo);
              return L = Jo(L), b = Y(
                S,
                b,
                T,
                L,
                _
              ), we = Oe, b;
          }
          if (tl(L) || F(L))
            return T = S.get(T) || null, S = Ft(L._debugInfo), b = Q(
              b,
              T,
              L,
              _,
              null
            ), we = S, b;
          if (typeof L.then == "function")
            return Oe = Ft(L._debugInfo), b = Y(
              S,
              b,
              T,
              Ji(L),
              _
            ), we = Oe, b;
          if (L.$$typeof === an)
            return Y(
              S,
              b,
              T,
              Ef(b, L),
              _
            );
          au(b, L);
        }
        return typeof L == "function" && zf(b, L), typeof L == "symbol" && Ki(b, L), null;
      }
      function ue(S, b, T, L) {
        if (typeof T != "object" || T === null) return L;
        switch (T.$$typeof) {
          case ln:
          case ri:
            re(S, b, T);
            var _ = T.key;
            if (typeof _ != "string") break;
            if (L === null) {
              L = /* @__PURE__ */ new Set(), L.add(_);
              break;
            }
            if (!L.has(_)) {
              L.add(_);
              break;
            }
            ae(b, function() {
              console.error(
                "Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",
                _
              );
            });
            break;
          case Hl:
            T = Jo(T), ue(S, b, T, L);
        }
        return L;
      }
      function Te(S, b, T, L) {
        for (var _ = null, Oe = null, ie = null, ze = b, Ue = b = 0, Mt = null; ze !== null && Ue < T.length; Ue++) {
          ze.index > Ue ? (Mt = ze, ze = null) : Mt = ze.sibling;
          var al = B(
            S,
            ze,
            T[Ue],
            L
          );
          if (al === null) {
            ze === null && (ze = Mt);
            break;
          }
          _ = ue(
            S,
            al,
            T[Ue],
            _
          ), e && ze && al.alternate === null && t(S, ze), b = f(al, b, Ue), ie === null ? Oe = al : ie.sibling = al, ie = al, ze = Mt;
        }
        if (Ue === T.length)
          return n(S, ze), _e && Yi(S, Ue), Oe;
        if (ze === null) {
          for (; Ue < T.length; Ue++)
            ze = H(S, T[Ue], L), ze !== null && (_ = ue(
              S,
              ze,
              T[Ue],
              _
            ), b = f(
              ze,
              b,
              Ue
            ), ie === null ? Oe = ze : ie.sibling = ze, ie = ze);
          return _e && Yi(S, Ue), Oe;
        }
        for (ze = i(ze); Ue < T.length; Ue++)
          Mt = Y(
            ze,
            S,
            Ue,
            T[Ue],
            L
          ), Mt !== null && (_ = ue(
            S,
            Mt,
            T[Ue],
            _
          ), e && Mt.alternate !== null && ze.delete(
            Mt.key === null ? Ue : Mt.key
          ), b = f(
            Mt,
            b,
            Ue
          ), ie === null ? Oe = Mt : ie.sibling = Mt, ie = Mt);
        return e && ze.forEach(function(Gc) {
          return t(S, Gc);
        }), _e && Yi(S, Ue), Oe;
      }
      function Ct(S, b, T, L) {
        if (T == null)
          throw Error("An iterable object provided no iterator.");
        for (var _ = null, Oe = null, ie = b, ze = b = 0, Ue = null, Mt = null, al = T.next(); ie !== null && !al.done; ze++, al = T.next()) {
          ie.index > ze ? (Ue = ie, ie = null) : Ue = ie.sibling;
          var Gc = B(S, ie, al.value, L);
          if (Gc === null) {
            ie === null && (ie = Ue);
            break;
          }
          Mt = ue(
            S,
            Gc,
            al.value,
            Mt
          ), e && ie && Gc.alternate === null && t(S, ie), b = f(Gc, b, ze), Oe === null ? _ = Gc : Oe.sibling = Gc, Oe = Gc, ie = Ue;
        }
        if (al.done)
          return n(S, ie), _e && Yi(S, ze), _;
        if (ie === null) {
          for (; !al.done; ze++, al = T.next())
            ie = H(S, al.value, L), ie !== null && (Mt = ue(
              S,
              ie,
              al.value,
              Mt
            ), b = f(
              ie,
              b,
              ze
            ), Oe === null ? _ = ie : Oe.sibling = ie, Oe = ie);
          return _e && Yi(S, ze), _;
        }
        for (ie = i(ie); !al.done; ze++, al = T.next())
          Ue = Y(
            ie,
            S,
            ze,
            al.value,
            L
          ), Ue !== null && (Mt = ue(
            S,
            Ue,
            al.value,
            Mt
          ), e && Ue.alternate !== null && ie.delete(
            Ue.key === null ? ze : Ue.key
          ), b = f(
            Ue,
            b,
            ze
          ), Oe === null ? _ = Ue : Oe.sibling = Ue, Oe = Ue);
        return e && ie.forEach(function(Tb) {
          return t(S, Tb);
        }), _e && Yi(S, ze), _;
      }
      function Ge(S, b, T, L) {
        if (typeof T == "object" && T !== null && T.type === Ec && T.key === null && (Xi(T, null, S), T = T.props.children), typeof T == "object" && T !== null) {
          switch (T.$$typeof) {
            case ln:
              var _ = Ft(T._debugInfo);
              e: {
                for (var Oe = T.key; b !== null; ) {
                  if (b.key === Oe) {
                    if (Oe = T.type, Oe === Ec) {
                      if (b.tag === 7) {
                        n(
                          S,
                          b.sibling
                        ), L = o(
                          b,
                          T.props.children
                        ), L.return = S, L._debugOwner = T._owner, L._debugInfo = we, Xi(T, L, S), S = L;
                        break e;
                      }
                    } else if (b.elementType === Oe || w0(
                      b,
                      T
                    ) || typeof Oe == "object" && Oe !== null && Oe.$$typeof === Hl && Jo(Oe) === b.type) {
                      n(
                        S,
                        b.sibling
                      ), L = o(b, T.props), ki(L, T), L.return = S, L._debugOwner = T._owner, L._debugInfo = we, S = L;
                      break e;
                    }
                    n(S, b);
                    break;
                  } else t(S, b);
                  b = b.sibling;
                }
                T.type === Ec ? (L = ju(
                  T.props.children,
                  S.mode,
                  L,
                  T.key
                ), L.return = S, L._debugOwner = S, L._debugTask = S._debugTask, L._debugInfo = we, Xi(T, L, S), S = L) : (L = bf(
                  T,
                  S.mode,
                  L
                ), ki(L, T), L.return = S, L._debugInfo = we, S = L);
              }
              return S = d(S), we = _, S;
            case ri:
              e: {
                for (_ = T, T = _.key; b !== null; ) {
                  if (b.key === T)
                    if (b.tag === 4 && b.stateNode.containerInfo === _.containerInfo && b.stateNode.implementation === _.implementation) {
                      n(
                        S,
                        b.sibling
                      ), L = o(
                        b,
                        _.children || []
                      ), L.return = S, S = L;
                      break e;
                    } else {
                      n(S, b);
                      break;
                    }
                  else t(S, b);
                  b = b.sibling;
                }
                L = kh(
                  _,
                  S.mode,
                  L
                ), L.return = S, S = L;
              }
              return d(S);
            case Hl:
              return _ = Ft(T._debugInfo), T = Jo(T), S = Ge(
                S,
                b,
                T,
                L
              ), we = _, S;
          }
          if (tl(T))
            return _ = Ft(T._debugInfo), S = Te(
              S,
              b,
              T,
              L
            ), we = _, S;
          if (F(T)) {
            if (_ = Ft(T._debugInfo), Oe = F(T), typeof Oe != "function")
              throw Error(
                "An object is not an iterable. This error is likely caused by a bug in React. Please file an issue."
              );
            var ie = Oe.call(T);
            return ie === T ? (S.tag !== 0 || Object.prototype.toString.call(S.type) !== "[object GeneratorFunction]" || Object.prototype.toString.call(ie) !== "[object Generator]") && (BA || console.error(
              "Using Iterators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. You can also use an Iterable that can iterate multiple times over the same items."
            ), BA = !0) : T.entries !== Oe || cv || (console.error(
              "Using Maps as children is not supported. Use an array of keyed ReactElements instead."
            ), cv = !0), S = Ct(
              S,
              b,
              ie,
              L
            ), we = _, S;
          }
          if (typeof T.then == "function")
            return _ = Ft(T._debugInfo), S = Ge(
              S,
              b,
              Ji(T),
              L
            ), we = _, S;
          if (T.$$typeof === an)
            return Ge(
              S,
              b,
              Ef(S, T),
              L
            );
          au(S, T);
        }
        return typeof T == "string" && T !== "" || typeof T == "number" || typeof T == "bigint" ? (_ = "" + T, b !== null && b.tag === 6 ? (n(
          S,
          b.sibling
        ), L = o(b, _), L.return = S, S = L) : (n(S, b), L = Vu(
          _,
          S.mode,
          L
        ), L.return = S, L._debugOwner = S, L._debugTask = S._debugTask, L._debugInfo = we, S = L), d(S)) : (typeof T == "function" && zf(S, T), typeof T == "symbol" && Ki(S, T), n(S, b));
      }
      return function(S, b, T, L) {
        var _ = we;
        we = null;
        try {
          Zm = 0;
          var Oe = Ge(
            S,
            b,
            T,
            L
          );
          return ih = null, Oe;
        } catch (Mt) {
          if (Mt === Gm || Mt === Lg) throw Mt;
          var ie = ye(29, Mt, null, S.mode);
          ie.lanes = L, ie.return = S;
          var ze = ie._debugInfo = we;
          if (ie._debugOwner = S._debugOwner, ie._debugTask = S._debugTask, ze != null) {
            for (var Ue = ze.length - 1; 0 <= Ue; Ue--)
              if (typeof ze[Ue].stack == "string") {
                ie._debugOwner = ze[Ue], ie._debugTask = ze[Ue].debugTask;
                break;
              }
          }
          return ie;
        } finally {
          we = _;
        }
      };
    }
    function ny(e) {
      e.updateQueue = {
        baseState: e.memoizedState,
        firstBaseUpdate: null,
        lastBaseUpdate: null,
        shared: { pending: null, lanes: 0, hiddenCallbacks: null },
        callbacks: null
      };
    }
    function jl(e, t) {
      e = e.updateQueue, t.updateQueue === e && (t.updateQueue = {
        baseState: e.baseState,
        firstBaseUpdate: e.firstBaseUpdate,
        lastBaseUpdate: e.lastBaseUpdate,
        shared: e.shared,
        callbacks: null
      });
    }
    function vn(e) {
      return {
        lane: e,
        tag: wA,
        payload: null,
        callback: null,
        next: null
      };
    }
    function zl(e, t, n) {
      var i = e.updateQueue;
      if (i === null) return null;
      if (i = i.shared, fv === i && !LA) {
        var o = te(e);
        console.error(
          `An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback.

Please update the following component: %s`,
          o
        ), LA = !0;
      }
      return (ut & Ea) !== un ? (o = i.pending, o === null ? t.next = t : (t.next = o.next, o.next = t), i.pending = t, t = mr(e), N0(e, null, n), t) : (yr(e, i, t, n), mr(e));
    }
    function co(e, t, n) {
      if (t = t.updateQueue, t !== null && (t = t.shared, (n & 4194048) !== 0)) {
        var i = t.lanes;
        i &= e.pendingLanes, n |= i, t.lanes = n, E0(e, n);
      }
    }
    function Ii(e, t) {
      var n = e.updateQueue, i = e.alternate;
      if (i !== null && (i = i.updateQueue, n === i)) {
        var o = null, f = null;
        if (n = n.firstBaseUpdate, n !== null) {
          do {
            var d = {
              lane: n.lane,
              tag: n.tag,
              payload: n.payload,
              callback: null,
              next: null
            };
            f === null ? o = f = d : f = f.next = d, n = n.next;
          } while (n !== null);
          f === null ? o = f = t : f = f.next = t;
        } else o = f = t;
        n = {
          baseState: i.baseState,
          firstBaseUpdate: o,
          lastBaseUpdate: f,
          shared: i.shared,
          callbacks: i.callbacks
        }, e.updateQueue = n;
        return;
      }
      e = n.lastBaseUpdate, e === null ? n.firstBaseUpdate = t : e.next = t, n.lastBaseUpdate = t;
    }
    function Ja() {
      if (sv) {
        var e = nh;
        if (e !== null) throw e;
      }
    }
    function Fi(e, t, n, i) {
      sv = !1;
      var o = e.updateQueue;
      ko = !1, fv = o.shared;
      var f = o.firstBaseUpdate, d = o.lastBaseUpdate, h = o.shared.pending;
      if (h !== null) {
        o.shared.pending = null;
        var m = h, p = m.next;
        m.next = null, d === null ? f = p : d.next = p, d = m;
        var Q = e.alternate;
        Q !== null && (Q = Q.updateQueue, h = Q.lastBaseUpdate, h !== d && (h === null ? Q.firstBaseUpdate = p : h.next = p, Q.lastBaseUpdate = m));
      }
      if (f !== null) {
        var H = o.baseState;
        d = 0, Q = p = m = null, h = f;
        do {
          var B = h.lane & -536870913, Y = B !== h.lane;
          if (Y ? (je & B) === B : (i & B) === B) {
            B !== 0 && B === ws && (sv = !0), Q !== null && (Q = Q.next = {
              lane: 0,
              tag: h.tag,
              payload: h.payload,
              callback: null,
              next: null
            });
            e: {
              B = e;
              var ue = h, Te = t, Ct = n;
              switch (ue.tag) {
                case qA:
                  if (ue = ue.payload, typeof ue == "function") {
                    lh = !0;
                    var Ge = ue.call(
                      Ct,
                      H,
                      Te
                    );
                    if (B.mode & fa) {
                      mt(!0);
                      try {
                        ue.call(Ct, H, Te);
                      } finally {
                        mt(!1);
                      }
                    }
                    lh = !1, H = Ge;
                    break e;
                  }
                  H = ue;
                  break e;
                case ov:
                  B.flags = B.flags & -65537 | 128;
                case wA:
                  if (Ge = ue.payload, typeof Ge == "function") {
                    if (lh = !0, ue = Ge.call(
                      Ct,
                      H,
                      Te
                    ), B.mode & fa) {
                      mt(!0);
                      try {
                        Ge.call(Ct, H, Te);
                      } finally {
                        mt(!1);
                      }
                    }
                    lh = !1;
                  } else ue = Ge;
                  if (ue == null) break e;
                  H = ee({}, H, ue);
                  break e;
                case YA:
                  ko = !0;
              }
            }
            B = h.callback, B !== null && (e.flags |= 64, Y && (e.flags |= 8192), Y = o.callbacks, Y === null ? o.callbacks = [B] : Y.push(B));
          } else
            Y = {
              lane: B,
              tag: h.tag,
              payload: h.payload,
              callback: h.callback,
              next: null
            }, Q === null ? (p = Q = Y, m = H) : Q = Q.next = Y, d |= B;
          if (h = h.next, h === null) {
            if (h = o.shared.pending, h === null)
              break;
            Y = h, h = Y.next, Y.next = null, o.lastBaseUpdate = Y, o.shared.pending = null;
          }
        } while (!0);
        Q === null && (m = H), o.baseState = m, o.firstBaseUpdate = p, o.lastBaseUpdate = Q, f === null && (o.shared.lanes = 0), Wo |= d, e.lanes = d, e.memoizedState = H;
      }
      fv = null;
    }
    function br(e, t) {
      if (typeof e != "function")
        throw Error(
          "Invalid argument passed as callback. Expected a function. Instead received: " + e
        );
      e.call(t);
    }
    function oo(e, t) {
      var n = e.shared.hiddenCallbacks;
      if (n !== null)
        for (e.shared.hiddenCallbacks = null, e = 0; e < n.length; e++)
          br(n[e], t);
    }
    function _i(e, t) {
      var n = e.callbacks;
      if (n !== null)
        for (e.callbacks = null, e = 0; e < n.length; e++)
          br(n[e], t);
    }
    function Uf(e, t) {
      var n = Ti;
      Ce(Gg, n, e), Ce(oh, t, e), Ti = n | t.baseLanes;
    }
    function fo(e) {
      Ce(Gg, Ti, e), Ce(
        oh,
        oh.current,
        e
      );
    }
    function Pl(e) {
      Ti = Gg.current, Ye(oh, e), Ye(Gg, e);
    }
    function _t(e) {
      var t = e.alternate;
      Ce(
        Tl,
        Tl.current & fh,
        e
      ), Ce(Zn, e, e), bi === null && (t === null || oh.current !== null || t.memoizedState !== null) && (bi = e);
    }
    function Ku(e) {
      if (e.tag === 22) {
        if (Ce(Tl, Tl.current, e), Ce(Zn, e, e), bi === null) {
          var t = e.alternate;
          t !== null && t.memoizedState !== null && (bi = e);
        }
      } else Ul(e);
    }
    function Ul(e) {
      Ce(Tl, Tl.current, e), Ce(
        Zn,
        Zn.current,
        e
      );
    }
    function pl(e) {
      Ye(Zn, e), bi === e && (bi = null), Ye(Tl, e);
    }
    function An(e) {
      for (var t = e; t !== null; ) {
        if (t.tag === 13) {
          var n = t.memoizedState;
          if (n !== null && (n = n.dehydrated, n === null || n.data === Lc || Ed(n)))
            return t;
        } else if (t.tag === 19 && t.memoizedProps.revealOrder !== void 0) {
          if ((t.flags & 128) !== 0) return t;
        } else if (t.child !== null) {
          t.child.return = t, t = t.child;
          continue;
        }
        if (t === e) break;
        for (; t.sibling === null; ) {
          if (t.return === null || t.return === e) return null;
          t = t.return;
        }
        t.sibling.return = t.return, t = t.sibling;
      }
      return null;
    }
    function Qe() {
      var e = w;
      kn === null ? kn = [e] : kn.push(e);
    }
    function K() {
      var e = w;
      if (kn !== null && (wc++, kn[wc] !== e)) {
        var t = te(Re);
        if (!jA.has(t) && (jA.add(t), kn !== null)) {
          for (var n = "", i = 0; i <= wc; i++) {
            var o = kn[i], f = i === wc ? e : o;
            for (o = i + 1 + ". " + o; 30 > o.length; )
              o += " ";
            o += f + `
`, n += o;
          }
          console.error(
            `React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://react.dev/link/rules-of-hooks

   Previous render            Next render
   ------------------------------------------------------
%s   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
`,
            t,
            n
          );
        }
      }
    }
    function Wu(e) {
      e == null || tl(e) || console.error(
        "%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",
        w,
        typeof e
      );
    }
    function ul() {
      var e = te(Re);
      GA.has(e) || (GA.add(e), console.error(
        "ReactDOM.useFormState has been renamed to React.useActionState. Please update %s to use React.useActionState.",
        e
      ));
    }
    function De() {
      throw Error(
        `Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
      );
    }
    function ke(e, t) {
      if (km) return !1;
      if (t === null)
        return console.error(
          "%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",
          w
        ), !1;
      e.length !== t.length && console.error(
        `The final argument passed to %s changed size between renders. The order and size of this array must remain constant.

Previous: %s
Incoming: %s`,
        w,
        "[" + t.join(", ") + "]",
        "[" + e.join(", ") + "]"
      );
      for (var n = 0; n < t.length && n < e.length; n++)
        if (!va(e[n], t[n])) return !1;
      return !0;
    }
    function nu(e, t, n, i, o, f) {
      Qc = f, Re = t, kn = e !== null ? e._debugHookTypes : null, wc = -1, km = e !== null && e.type !== t.type, (Object.prototype.toString.call(n) === "[object AsyncFunction]" || Object.prototype.toString.call(n) === "[object AsyncGeneratorFunction]") && (f = te(Re), rv.has(f) || (rv.add(f), console.error(
        "%s is an async Client Component. Only Server Components can be async at the moment. This error is often caused by accidentally adding `'use client'` to a module that was originally written for the server.",
        f === null ? "An unknown Component" : "<" + f + ">"
      ))), t.memoizedState = null, t.updateQueue = null, t.lanes = 0, N.H = e !== null && e.memoizedState !== null ? hv : kn !== null ? ZA : dv, Ls = f = (t.mode & fa) !== Et;
      var d = uv(n, i, o);
      if (Ls = !1, rh && (d = Mf(
        t,
        n,
        i,
        o
      )), f) {
        mt(!0);
        try {
          d = Mf(
            t,
            n,
            i,
            o
          );
        } finally {
          mt(!1);
        }
      }
      return ka(e, t), d;
    }
    function ka(e, t) {
      t._debugHookTypes = kn, t.dependencies === null ? Nc !== null && (t.dependencies = {
        lanes: 0,
        firstContext: null,
        _debugThenableState: Nc
      }) : t.dependencies._debugThenableState = Nc, N.H = Jg;
      var n = gt !== null && gt.next !== null;
      if (Qc = 0, kn = w = rl = gt = Re = null, wc = -1, e !== null && (e.flags & 65011712) !== (t.flags & 65011712) && console.error(
        "Internal React error: Expected static flag was missing. Please notify the React team."
      ), Zg = !1, Jm = 0, Nc = null, n)
        throw Error(
          "Rendered fewer hooks than expected. This may be caused by an accidental early return statement."
        );
      e === null || wl || (e = e.dependencies, e !== null && Zu(e) && (wl = !0)), Vg ? (Vg = !1, e = !0) : e = !1, e && (t = te(t) || "Unknown", VA.has(t) || rv.has(t) || (VA.add(t), console.error(
        "`use` was called from inside a try/catch block. This is not allowed and can lead to unexpected behavior. To handle errors triggered by `use`, wrap your component in a error boundary."
      )));
    }
    function Mf(e, t, n, i) {
      Re = e;
      var o = 0;
      do {
        if (rh && (Nc = null), Jm = 0, rh = !1, o >= eb)
          throw Error(
            "Too many re-renders. React limits the number of renders to prevent an infinite loop."
          );
        if (o += 1, km = !1, rl = gt = null, e.updateQueue != null) {
          var f = e.updateQueue;
          f.lastEffect = null, f.events = null, f.stores = null, f.memoCache != null && (f.memoCache.index = 0);
        }
        wc = -1, N.H = XA, f = uv(t, n, i);
      } while (rh);
      return f;
    }
    function Pi() {
      var e = N.H, t = e.useState()[0];
      return t = typeof t.then == "function" ? tc(t) : t, e = e.useState()[0], (gt !== null ? gt.memoizedState : null) !== e && (Re.flags |= 1024), t;
    }
    function Er() {
      var e = Xg !== 0;
      return Xg = 0, e;
    }
    function Tr(e, t, n) {
      t.updateQueue = e.updateQueue, t.flags = (t.mode & Cu) !== Et ? t.flags & -402655237 : t.flags & -2053, e.lanes &= ~n;
    }
    function $i(e) {
      if (Zg) {
        for (e = e.memoizedState; e !== null; ) {
          var t = e.queue;
          t !== null && (t.pending = null), e = e.next;
        }
        Zg = !1;
      }
      Qc = 0, kn = rl = gt = Re = null, wc = -1, w = null, rh = !1, Jm = Xg = 0, Nc = null;
    }
    function il() {
      var e = {
        memoizedState: null,
        baseState: null,
        baseQueue: null,
        queue: null,
        next: null
      };
      return rl === null ? Re.memoizedState = rl = e : rl = rl.next = e, rl;
    }
    function $e() {
      if (gt === null) {
        var e = Re.alternate;
        e = e !== null ? e.memoizedState : null;
      } else e = gt.next;
      var t = rl === null ? Re.memoizedState : rl.next;
      if (t !== null)
        rl = t, gt = e;
      else {
        if (e === null)
          throw Re.alternate === null ? Error(
            "Update hook called on initial render. This is likely a bug in React. Please file an issue."
          ) : Error("Rendered more hooks than during the previous render.");
        gt = e, e = {
          memoizedState: gt.memoizedState,
          baseState: gt.baseState,
          baseQueue: gt.baseQueue,
          queue: gt.queue,
          next: null
        }, rl === null ? Re.memoizedState = rl = e : rl = rl.next = e;
      }
      return rl;
    }
    function ec() {
      return { lastEffect: null, events: null, stores: null, memoCache: null };
    }
    function tc(e) {
      var t = Jm;
      return Jm += 1, Nc === null && (Nc = Sr()), e = ya(Nc, e, t), t = Re, (rl === null ? t.memoizedState : rl.next) === null && (t = t.alternate, N.H = t !== null && t.memoizedState !== null ? hv : dv), e;
    }
    function $l(e) {
      if (e !== null && typeof e == "object") {
        if (typeof e.then == "function") return tc(e);
        if (e.$$typeof === an) return vt(e);
      }
      throw Error("An unsupported type was passed to use(): " + String(e));
    }
    function Vl(e) {
      var t = null, n = Re.updateQueue;
      if (n !== null && (t = n.memoCache), t == null) {
        var i = Re.alternate;
        i !== null && (i = i.updateQueue, i !== null && (i = i.memoCache, i != null && (t = {
          data: i.data.map(function(o) {
            return o.slice();
          }),
          index: 0
        })));
      }
      if (t == null && (t = { data: [], index: 0 }), n === null && (n = ec(), Re.updateQueue = n), n.memoCache = t, n = t.data[t.index], n === void 0 || km)
        for (n = t.data[t.index] = Array(e), i = 0; i < e; i++)
          n[i] = Am;
      else
        n.length !== e && console.error(
          "Expected a constant size argument for each invocation of useMemoCache. The previous cache was allocated with size %s but size %s was requested.",
          n.length,
          e
        );
      return t.index++, n;
    }
    function cl(e, t) {
      return typeof t == "function" ? t(e) : t;
    }
    function Ka(e, t, n) {
      var i = il();
      if (n !== void 0) {
        var o = n(t);
        if (Ls) {
          mt(!0);
          try {
            n(t);
          } finally {
            mt(!1);
          }
        }
      } else o = t;
      return i.memoizedState = i.baseState = o, e = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: e,
        lastRenderedState: o
      }, i.queue = e, e = e.dispatch = xr.bind(
        null,
        Re,
        e
      ), [i.memoizedState, e];
    }
    function Iu(e) {
      var t = $e();
      return Bf(t, gt, e);
    }
    function Bf(e, t, n) {
      var i = e.queue;
      if (i === null)
        throw Error(
          "Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"
        );
      i.lastRenderedReducer = n;
      var o = e.baseQueue, f = i.pending;
      if (f !== null) {
        if (o !== null) {
          var d = o.next;
          o.next = f.next, f.next = d;
        }
        t.baseQueue !== o && console.error(
          "Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."
        ), t.baseQueue = o = f, i.pending = null;
      }
      if (f = e.baseState, o === null) e.memoizedState = f;
      else {
        t = o.next;
        var h = d = null, m = null, p = t, Q = !1;
        do {
          var H = p.lane & -536870913;
          if (H !== p.lane ? (je & H) === H : (Qc & H) === H) {
            var B = p.revertLane;
            if (B === 0)
              m !== null && (m = m.next = {
                lane: 0,
                revertLane: 0,
                gesture: null,
                action: p.action,
                hasEagerState: p.hasEagerState,
                eagerState: p.eagerState,
                next: null
              }), H === ws && (Q = !0);
            else if ((Qc & B) === B) {
              p = p.next, B === ws && (Q = !0);
              continue;
            } else
              H = {
                lane: 0,
                revertLane: p.revertLane,
                gesture: null,
                action: p.action,
                hasEagerState: p.hasEagerState,
                eagerState: p.eagerState,
                next: null
              }, m === null ? (h = m = H, d = f) : m = m.next = H, Re.lanes |= B, Wo |= B;
            H = p.action, Ls && n(f, H), f = p.hasEagerState ? p.eagerState : n(f, H);
          } else
            B = {
              lane: H,
              revertLane: p.revertLane,
              gesture: p.gesture,
              action: p.action,
              hasEagerState: p.hasEagerState,
              eagerState: p.eagerState,
              next: null
            }, m === null ? (h = m = B, d = f) : m = m.next = B, Re.lanes |= H, Wo |= H;
          p = p.next;
        } while (p !== null && p !== t);
        if (m === null ? d = f : m.next = h, !va(f, e.memoizedState) && (wl = !0, Q && (n = nh, n !== null)))
          throw n;
        e.memoizedState = f, e.baseState = d, e.baseQueue = m, i.lastRenderedState = f;
      }
      return o === null && (i.lanes = 0), [e.memoizedState, i.dispatch];
    }
    function uu(e) {
      var t = $e(), n = t.queue;
      if (n === null)
        throw Error(
          "Should have a queue. You are likely calling Hooks conditionally, which is not allowed. (https://react.dev/link/invalid-hook-call)"
        );
      n.lastRenderedReducer = e;
      var i = n.dispatch, o = n.pending, f = t.memoizedState;
      if (o !== null) {
        n.pending = null;
        var d = o = o.next;
        do
          f = e(f, d.action), d = d.next;
        while (d !== o);
        va(f, t.memoizedState) || (wl = !0), t.memoizedState = f, t.baseQueue === null && (t.baseState = f), n.lastRenderedState = f;
      }
      return [f, i];
    }
    function so(e, t, n) {
      var i = Re, o = il();
      if (_e) {
        if (n === void 0)
          throw Error(
            "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
          );
        var f = n();
        sh || f === n() || (console.error(
          "The result of getServerSnapshot should be cached to avoid an infinite loop"
        ), sh = !0);
      } else {
        if (f = t(), sh || (n = t(), va(f, n) || (console.error(
          "The result of getSnapshot should be cached to avoid an infinite loop"
        ), sh = !0)), Tt === null)
          throw Error(
            "Expected a work-in-progress root. This is a bug in React. Please file an issue."
          );
        (je & 124) !== 0 || vl(i, t, f);
      }
      return o.memoizedState = f, n = { value: f, getSnapshot: t }, o.queue = n, Nf(
        uy.bind(null, i, n, e),
        [e]
      ), i.flags |= 2048, iu(
        Jn | Cl,
        { destroy: void 0 },
        xf.bind(
          null,
          i,
          n,
          f,
          t
        ),
        null
      ), f;
    }
    function Sn(e, t, n) {
      var i = Re, o = $e(), f = _e;
      if (f) {
        if (n === void 0)
          throw Error(
            "Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering."
          );
        n = n();
      } else if (n = t(), !sh) {
        var d = t();
        va(n, d) || (console.error(
          "The result of getSnapshot should be cached to avoid an infinite loop"
        ), sh = !0);
      }
      (d = !va(
        (gt || o).memoizedState,
        n
      )) && (o.memoizedState = n, wl = !0), o = o.queue;
      var h = uy.bind(null, i, o, e);
      if (Al(2048, Cl, h, [e]), o.getSnapshot !== t || d || rl !== null && rl.memoizedState.tag & Jn) {
        if (i.flags |= 2048, iu(
          Jn | Cl,
          { destroy: void 0 },
          xf.bind(
            null,
            i,
            o,
            n,
            t
          ),
          null
        ), Tt === null)
          throw Error(
            "Expected a work-in-progress root. This is a bug in React. Please file an issue."
          );
        f || (Qc & 124) !== 0 || vl(i, t, n);
      }
      return n;
    }
    function vl(e, t, n) {
      e.flags |= 16384, e = { getSnapshot: t, value: n }, t = Re.updateQueue, t === null ? (t = ec(), Re.updateQueue = t, t.stores = [e]) : (n = t.stores, n === null ? t.stores = [e] : n.push(e));
    }
    function xf(e, t, n, i) {
      t.value = n, t.getSnapshot = i, V0(t) && G0(e);
    }
    function uy(e, t, n) {
      return n(function() {
        V0(t) && G0(e);
      });
    }
    function V0(e) {
      var t = e.getSnapshot;
      e = e.value;
      try {
        var n = t();
        return !va(e, n);
      } catch {
        return !0;
      }
    }
    function G0(e) {
      var t = Fl(e, 2);
      t !== null && wt(t, e, 2);
    }
    function iy(e) {
      var t = il();
      if (typeof e == "function") {
        var n = e;
        if (e = n(), Ls) {
          mt(!0);
          try {
            n();
          } finally {
            mt(!1);
          }
        }
      }
      return t.memoizedState = t.baseState = e, t.queue = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: cl,
        lastRenderedState: e
      }, t;
    }
    function Yt(e) {
      e = iy(e);
      var t = e.queue, n = hy.bind(null, Re, t);
      return t.dispatch = n, [e.memoizedState, n];
    }
    function Hf(e) {
      var t = il();
      t.memoizedState = t.baseState = e;
      var n = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: null,
        lastRenderedState: null
      };
      return t.queue = n, t = qf.bind(
        null,
        Re,
        !0,
        n
      ), n.dispatch = t, [e, t];
    }
    function ro(e, t) {
      var n = $e();
      return ho(n, gt, e, t);
    }
    function ho(e, t, n, i) {
      return e.baseState = n, Bf(
        e,
        gt,
        typeof i == "function" ? i : cl
      );
    }
    function Cr(e, t) {
      var n = $e();
      return gt !== null ? ho(n, gt, e, t) : (n.baseState = e, [e, n.queue.dispatch]);
    }
    function yo(e, t, n, i, o) {
      if (Gl(e))
        throw Error("Cannot update form state while rendering.");
      if (e = t.action, e !== null) {
        var f = {
          payload: o,
          action: e,
          next: null,
          isTransition: !0,
          status: "pending",
          value: null,
          reason: null,
          listeners: [],
          then: function(d) {
            f.listeners.push(d);
          }
        };
        N.T !== null ? n(!0) : f.isTransition = !1, i(f), n = t.pending, n === null ? (f.next = t.pending = f, lc(t, f)) : (f.next = n.next, t.pending = n.next = f);
      }
    }
    function lc(e, t) {
      var n = t.action, i = t.payload, o = e.state;
      if (t.isTransition) {
        var f = N.T, d = {};
        d._updatedFibers = /* @__PURE__ */ new Set(), N.T = d;
        try {
          var h = n(o, i), m = N.S;
          m !== null && m(d, h), Z0(e, t, h);
        } catch (p) {
          oy(e, t, p);
        } finally {
          f !== null && d.types !== null && (f.types !== null && f.types !== d.types && console.error(
            "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
          ), f.types = d.types), N.T = f, f === null && d._updatedFibers && (e = d._updatedFibers.size, d._updatedFibers.clear(), 10 < e && console.warn(
            "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
          ));
        }
      } else
        try {
          d = n(o, i), Z0(e, t, d);
        } catch (p) {
          oy(e, t, p);
        }
    }
    function Z0(e, t, n) {
      n !== null && typeof n == "object" && typeof n.then == "function" ? (N.asyncTransitions++, n.then(po, po), n.then(
        function(i) {
          cy(e, t, i);
        },
        function(i) {
          return oy(e, t, i);
        }
      ), t.isTransition || console.error(
        "An async function with useActionState was called outside of a transition. This is likely not what you intended (for example, isPending will not update correctly). Either call the returned function inside startTransition, or pass it to an `action` or `formAction` prop."
      )) : cy(e, t, n);
    }
    function cy(e, t, n) {
      t.status = "fulfilled", t.value = n, fy(t), e.state = n, t = e.pending, t !== null && (n = t.next, n === t ? e.pending = null : (n = n.next, t.next = n, lc(e, n)));
    }
    function oy(e, t, n) {
      var i = e.pending;
      if (e.pending = null, i !== null) {
        i = i.next;
        do
          t.status = "rejected", t.reason = n, fy(t), t = t.next;
        while (t !== i);
      }
      e.action = null;
    }
    function fy(e) {
      e = e.listeners;
      for (var t = 0; t < e.length; t++) (0, e[t])();
    }
    function Fu(e, t) {
      return t;
    }
    function _u(e, t) {
      if (_e) {
        var n = Tt.formState;
        if (n !== null) {
          e: {
            var i = Re;
            if (_e) {
              if (Gt) {
                t: {
                  for (var o = Gt, f = Si; o.nodeType !== 8; ) {
                    if (!f) {
                      o = null;
                      break t;
                    }
                    if (o = la(
                      o.nextSibling
                    ), o === null) {
                      o = null;
                      break t;
                    }
                  }
                  f = o.data, o = f === wv || f === R1 ? o : null;
                }
                if (o) {
                  Gt = la(
                    o.nextSibling
                  ), i = o.data === wv;
                  break e;
                }
              }
              gn(i);
            }
            i = !1;
          }
          i && (t = n[0]);
        }
      }
      return n = il(), n.memoizedState = n.baseState = t, i = {
        pending: null,
        lanes: 0,
        dispatch: null,
        lastRenderedReducer: Fu,
        lastRenderedState: t
      }, n.queue = i, n = hy.bind(
        null,
        Re,
        i
      ), i.dispatch = n, i = iy(!1), f = qf.bind(
        null,
        Re,
        !1,
        i.queue
      ), i = il(), o = {
        state: t,
        dispatch: null,
        action: e,
        pending: null
      }, i.queue = o, n = yo.bind(
        null,
        Re,
        o,
        f,
        n
      ), o.dispatch = n, i.memoizedState = e, [t, n, !1];
    }
    function ac(e) {
      var t = $e();
      return sy(t, gt, e);
    }
    function sy(e, t, n) {
      if (t = Bf(
        e,
        t,
        Fu
      )[0], e = Iu(cl)[0], typeof t == "object" && t !== null && typeof t.then == "function")
        try {
          var i = tc(t);
        } catch (d) {
          throw d === Gm ? Lg : d;
        }
      else i = t;
      t = $e();
      var o = t.queue, f = o.dispatch;
      return n !== t.memoizedState && (Re.flags |= 2048, iu(
        Jn | Cl,
        { destroy: void 0 },
        Qf.bind(null, o, n),
        null
      )), [i, f, e];
    }
    function Qf(e, t) {
      e.action = t;
    }
    function mo(e) {
      var t = $e(), n = gt;
      if (n !== null)
        return sy(t, n, e);
      $e(), t = t.memoizedState, n = $e();
      var i = n.queue.dispatch;
      return n.memoizedState = e, [t, i, !1];
    }
    function iu(e, t, n, i) {
      return e = { tag: e, create: n, deps: i, inst: t, next: null }, t = Re.updateQueue, t === null && (t = ec(), Re.updateQueue = t), n = t.lastEffect, n === null ? t.lastEffect = e.next = e : (i = n.next, n.next = e, e.next = i, t.lastEffect = e), e;
    }
    function go(e) {
      var t = il();
      return e = { current: e }, t.memoizedState = e;
    }
    function Pu(e, t, n, i) {
      var o = il();
      Re.flags |= e, o.memoizedState = iu(
        Jn | t,
        { destroy: void 0 },
        n,
        i === void 0 ? null : i
      );
    }
    function Al(e, t, n, i) {
      var o = $e();
      i = i === void 0 ? null : i;
      var f = o.memoizedState.inst;
      gt !== null && i !== null && ke(i, gt.memoizedState.deps) ? o.memoizedState = iu(t, f, n, i) : (Re.flags |= e, o.memoizedState = iu(
        Jn | t,
        f,
        n,
        i
      ));
    }
    function Nf(e, t) {
      (Re.mode & Cu) !== Et && (Re.mode & sA) === Et ? Pu(276826112, Cl, e, t) : Pu(8390656, Cl, e, t);
    }
    function $u(e, t) {
      var n = 4194308;
      return (Re.mode & Cu) !== Et && (n |= 134217728), Pu(n, Kl, e, t);
    }
    function ry(e, t) {
      if (typeof t == "function") {
        e = e();
        var n = t(e);
        return function() {
          typeof n == "function" ? n() : t(null);
        };
      }
      if (t != null)
        return t.hasOwnProperty("current") || console.error(
          "Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.",
          "an object with keys {" + Object.keys(t).join(", ") + "}"
        ), e = e(), t.current = e, function() {
          t.current = null;
        };
    }
    function Rr(e, t, n) {
      typeof t != "function" && console.error(
        "Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",
        t !== null ? typeof t : "null"
      ), n = n != null ? n.concat([e]) : null;
      var i = 4194308;
      (Re.mode & Cu) !== Et && (i |= 134217728), Pu(
        i,
        Kl,
        ry.bind(null, t, e),
        n
      );
    }
    function cu(e, t, n) {
      typeof t != "function" && console.error(
        "Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",
        t !== null ? typeof t : "null"
      ), n = n != null ? n.concat([e]) : null, Al(
        4,
        Kl,
        ry.bind(null, t, e),
        n
      );
    }
    function nc(e, t) {
      return il().memoizedState = [
        e,
        t === void 0 ? null : t
      ], e;
    }
    function uc(e, t) {
      var n = $e();
      t = t === void 0 ? null : t;
      var i = n.memoizedState;
      return t !== null && ke(t, i[1]) ? i[0] : (n.memoizedState = [e, t], e);
    }
    function ic(e, t) {
      var n = il();
      t = t === void 0 ? null : t;
      var i = e();
      if (Ls) {
        mt(!0);
        try {
          e();
        } finally {
          mt(!1);
        }
      }
      return n.memoizedState = [i, t], i;
    }
    function cc(e, t) {
      var n = $e();
      t = t === void 0 ? null : t;
      var i = n.memoizedState;
      if (t !== null && ke(t, i[1]))
        return i[0];
      if (i = e(), Ls) {
        mt(!0);
        try {
          e();
        } finally {
          mt(!1);
        }
      }
      return n.memoizedState = [i, t], i;
    }
    function Dr(e, t) {
      var n = il();
      return Or(n, e, t);
    }
    function dy(e, t) {
      var n = $e();
      return ou(
        n,
        gt.memoizedState,
        e,
        t
      );
    }
    function oc(e, t) {
      var n = $e();
      return gt === null ? Or(n, e, t) : ou(
        n,
        gt.memoizedState,
        e,
        t
      );
    }
    function Or(e, t, n) {
      return n === void 0 || (Qc & 1073741824) !== 0 ? e.memoizedState = t : (e.memoizedState = n, e = Qy(), Re.lanes |= e, Wo |= e, n);
    }
    function ou(e, t, n, i) {
      return va(n, t) ? n : oh.current !== null ? (e = Or(e, n, i), va(e, t) || (wl = !0), e) : (Qc & 42) === 0 || (Qc & 1073741824) !== 0 ? (wl = !0, e.memoizedState = n) : (e = Qy(), Re.lanes |= e, Wo |= e, t);
    }
    function po() {
      N.asyncTransitions--;
    }
    function zr(e, t, n, i, o) {
      var f = Xe.p;
      Xe.p = f !== 0 && f < Ha ? f : Ha;
      var d = N.T, h = {};
      h._updatedFibers = /* @__PURE__ */ new Set(), N.T = h, qf(e, !1, t, n);
      try {
        var m = o(), p = N.S;
        if (p !== null && p(h, m), m !== null && typeof m == "object" && typeof m.then == "function") {
          N.asyncTransitions++, m.then(po, po);
          var Q = Bp(
            m,
            i
          );
          fc(
            e,
            t,
            Q,
            at(e)
          );
        } else
          fc(
            e,
            t,
            i,
            at(e)
          );
      } catch (H) {
        fc(
          e,
          t,
          { then: function() {
          }, status: "rejected", reason: H },
          at(e)
        );
      } finally {
        Xe.p = f, d !== null && h.types !== null && (d.types !== null && d.types !== h.types && console.error(
          "We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."
        ), d.types = h.types), N.T = d, d === null && h._updatedFibers && (e = h._updatedFibers.size, h._updatedFibers.clear(), 10 < e && console.warn(
          "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
        ));
      }
    }
    function bn(e, t, n, i) {
      if (e.tag !== 5)
        throw Error(
          "Expected the form instance to be a HostComponent. This is a bug in React."
        );
      var o = fu(e).queue;
      zr(
        e,
        o,
        t,
        Is,
        n === null ? Ze : function() {
          return vo(e), n(i);
        }
      );
    }
    function fu(e) {
      var t = e.memoizedState;
      if (t !== null) return t;
      t = {
        memoizedState: Is,
        baseState: Is,
        baseQueue: null,
        queue: {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: cl,
          lastRenderedState: Is
        },
        next: null
      };
      var n = {};
      return t.next = {
        memoizedState: n,
        baseState: n,
        baseQueue: null,
        queue: {
          pending: null,
          lanes: 0,
          dispatch: null,
          lastRenderedReducer: cl,
          lastRenderedState: n
        },
        next: null
      }, e.memoizedState = t, e = e.alternate, e !== null && (e.memoizedState = t), t;
    }
    function vo(e) {
      N.T === null && console.error(
        "requestFormReset was called outside a transition or action. To fix, move to an action, or wrap with startTransition."
      );
      var t = fu(e).next.queue;
      fc(
        e,
        t,
        {},
        at(e)
      );
    }
    function wf() {
      var e = iy(!1);
      return e = zr.bind(
        null,
        Re,
        e.queue,
        !0,
        !1
      ), il().memoizedState = e, [!1, e];
    }
    function Ur() {
      var e = Iu(cl)[0], t = $e().memoizedState;
      return [
        typeof e == "boolean" ? e : tc(e),
        t
      ];
    }
    function Ao() {
      var e = uu(cl)[0], t = $e().memoizedState;
      return [
        typeof e == "boolean" ? e : tc(e),
        t
      ];
    }
    function Wa() {
      return vt(c0);
    }
    function Mr() {
      var e = il(), t = Tt.identifierPrefix;
      if (_e) {
        var n = Bc, i = Mc;
        n = (i & ~(1 << 32 - Jl(i) - 1)).toString(32) + n, t = "«" + t + "R" + n, n = Xg++, 0 < n && (t += "H" + n.toString(32)), t += "»";
      } else
        n = $S++, t = "«" + t + "r" + n.toString(32) + "»";
      return e.memoizedState = t;
    }
    function Br() {
      return il().memoizedState = So.bind(
        null,
        Re
      );
    }
    function So(e, t) {
      for (var n = e.return; n !== null; ) {
        switch (n.tag) {
          case 24:
          case 3:
            var i = at(n);
            e = vn(i);
            var o = zl(n, e, i);
            o !== null && (wt(o, n, i), co(o, n, i)), n = Tf(), t != null && o !== null && console.error(
              "The seed argument is not enabled outside experimental channels."
            ), e.payload = { cache: n };
            return;
        }
        n = n.return;
      }
    }
    function xr(e, t, n) {
      var i = arguments;
      typeof i[3] == "function" && console.error(
        "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
      ), i = at(e);
      var o = {
        lane: i,
        revertLane: 0,
        gesture: null,
        action: n,
        hasEagerState: !1,
        eagerState: null,
        next: null
      };
      Gl(e) ? Ia(t, o) : (o = Gh(e, t, o, i), o !== null && (wt(o, e, i), su(o, t, i))), Kc(e, i);
    }
    function hy(e, t, n) {
      var i = arguments;
      typeof i[3] == "function" && console.error(
        "State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect()."
      ), i = at(e), fc(e, t, n, i), Kc(e, i);
    }
    function fc(e, t, n, i) {
      var o = {
        lane: i,
        revertLane: 0,
        gesture: null,
        action: n,
        hasEagerState: !1,
        eagerState: null,
        next: null
      };
      if (Gl(e)) Ia(t, o);
      else {
        var f = e.alternate;
        if (e.lanes === 0 && (f === null || f.lanes === 0) && (f = t.lastRenderedReducer, f !== null)) {
          var d = N.H;
          N.H = Du;
          try {
            var h = t.lastRenderedState, m = f(h, n);
            if (o.hasEagerState = !0, o.eagerState = m, va(m, h))
              return yr(e, t, o, 0), Tt === null && vf(), !1;
          } catch {
          } finally {
            N.H = d;
          }
        }
        if (n = Gh(e, t, o, i), n !== null)
          return wt(n, e, i), su(n, t, i), !0;
      }
      return !1;
    }
    function qf(e, t, n, i) {
      if (N.T === null && ws === 0 && console.error(
        "An optimistic state update occurred outside a transition or action. To fix, move the update to an action, or wrap with startTransition."
      ), i = {
        lane: 2,
        revertLane: xl(),
        gesture: null,
        action: i,
        hasEagerState: !1,
        eagerState: null,
        next: null
      }, Gl(e)) {
        if (t)
          throw Error("Cannot update optimistic state while rendering.");
        console.error("Cannot call startTransition while rendering.");
      } else
        t = Gh(
          e,
          n,
          i,
          2
        ), t !== null && wt(t, e, 2);
      Kc(e, 2);
    }
    function Gl(e) {
      var t = e.alternate;
      return e === Re || t !== null && t === Re;
    }
    function Ia(e, t) {
      rh = Zg = !0;
      var n = e.pending;
      n === null ? t.next = t : (t.next = n.next, n.next = t), e.pending = t;
    }
    function su(e, t, n) {
      if ((n & 4194048) !== 0) {
        var i = t.lanes;
        i &= e.pendingLanes, n |= i, t.lanes = n, E0(e, n);
      }
    }
    function Hr(e) {
      if (e !== null && typeof e != "function") {
        var t = String(e);
        t1.has(t) || (t1.add(t), console.error(
          "Expected the last optional `callback` argument to be a function. Instead received: %s.",
          e
        ));
      }
    }
    function En(e, t, n, i) {
      var o = e.memoizedState, f = n(i, o);
      if (e.mode & fa) {
        mt(!0);
        try {
          f = n(i, o);
        } finally {
          mt(!1);
        }
      }
      f === void 0 && (t = $(t) || "Component", _A.has(t) || (_A.add(t), console.error(
        "%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",
        t
      ))), o = f == null ? o : ee({}, o, f), e.memoizedState = o, e.lanes === 0 && (e.updateQueue.baseState = o);
    }
    function Tn(e, t, n, i, o, f, d) {
      var h = e.stateNode;
      if (typeof h.shouldComponentUpdate == "function") {
        if (n = h.shouldComponentUpdate(
          i,
          f,
          d
        ), e.mode & fa) {
          mt(!0);
          try {
            n = h.shouldComponentUpdate(
              i,
              f,
              d
            );
          } finally {
            mt(!1);
          }
        }
        return n === void 0 && console.error(
          "%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",
          $(t) || "Component"
        ), n;
      }
      return t.prototype && t.prototype.isPureReactComponent ? !pf(n, i) || !pf(o, f) : !0;
    }
    function jt(e, t, n, i) {
      var o = t.state;
      typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps(n, i), typeof t.UNSAFE_componentWillReceiveProps == "function" && t.UNSAFE_componentWillReceiveProps(n, i), t.state !== o && (e = te(e) || "Component", kA.has(e) || (kA.add(e), console.error(
        "%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
        e
      )), yv.enqueueReplaceState(
        t,
        t.state,
        null
      ));
    }
    function Cn(e, t) {
      var n = t;
      if ("ref" in t) {
        n = {};
        for (var i in t)
          i !== "ref" && (n[i] = t[i]);
      }
      if (e = e.defaultProps) {
        n === t && (n = ee({}, n));
        for (var o in e)
          n[o] === void 0 && (n[o] = e[o]);
      }
      return n;
    }
    function Rn(e) {
      mv(e), console.warn(
        `%s

%s
`,
        dh ? "An error occurred in the <" + dh + "> component." : "An error occurred in one of your React components.",
        `Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://react.dev/link/error-boundaries to learn more about error boundaries.`
      );
    }
    function Me(e) {
      var t = dh ? "The above error occurred in the <" + dh + "> component." : "The above error occurred in one of your React components.", n = "React will try to recreate this component tree from scratch using the error boundary you provided, " + ((gv || "Anonymous") + ".");
      if (typeof e == "object" && e !== null && typeof e.environmentName == "string") {
        var i = e.environmentName;
        e = [
          `%o

%s

%s
`,
          e,
          t,
          n
        ].slice(0), typeof e[0] == "string" ? e.splice(
          0,
          1,
          H1 + e[0],
          Q1,
          rp + i + rp,
          N1
        ) : e.splice(
          0,
          0,
          H1,
          Q1,
          rp + i + rp,
          N1
        ), e.unshift(console), i = bb.apply(console.error, e), i();
      } else
        console.error(
          `%o

%s

%s
`,
          e,
          t,
          n
        );
    }
    function lt(e) {
      mv(e);
    }
    function Bt(e, t) {
      try {
        dh = t.source ? te(t.source) : null, gv = null;
        var n = t.value;
        if (N.actQueue !== null)
          N.thrownErrors.push(n);
        else {
          var i = e.onUncaughtError;
          i(n, { componentStack: t.stack });
        }
      } catch (o) {
        setTimeout(function() {
          throw o;
        });
      }
    }
    function Yf(e, t, n) {
      try {
        dh = n.source ? te(n.source) : null, gv = te(t);
        var i = e.onCaughtError;
        i(n.value, {
          componentStack: n.stack,
          errorBoundary: t.tag === 1 ? t.stateNode : null
        });
      } catch (o) {
        setTimeout(function() {
          throw o;
        });
      }
    }
    function ei(e, t, n) {
      return n = vn(n), n.tag = ov, n.payload = { element: null }, n.callback = function() {
        ae(t.source, Bt, e, t);
      }, n;
    }
    function ru(e) {
      return e = vn(e), e.tag = ov, e;
    }
    function bo(e, t, n, i) {
      var o = n.type.getDerivedStateFromError;
      if (typeof o == "function") {
        var f = i.value;
        e.payload = function() {
          return o(f);
        }, e.callback = function() {
          q0(n), ae(
            i.source,
            Yf,
            t,
            n,
            i
          );
        };
      }
      var d = n.stateNode;
      d !== null && typeof d.componentDidCatch == "function" && (e.callback = function() {
        q0(n), ae(
          i.source,
          Yf,
          t,
          n,
          i
        ), typeof o != "function" && (Fo === null ? Fo = /* @__PURE__ */ new Set([this]) : Fo.add(this)), FS(this, i), typeof o == "function" || (n.lanes & 2) === 0 && console.error(
          "%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",
          te(n) || "Unknown"
        );
      });
    }
    function Lf(e, t, n, i, o) {
      if (n.flags |= 32768, xa && dc(e, o), i !== null && typeof i == "object" && typeof i.then == "function") {
        if (t = n.alternate, t !== null && gl(
          t,
          n,
          o,
          !0
        ), _e && (xc = !0), n = Zn.current, n !== null) {
          switch (n.tag) {
            case 13:
              return bi === null ? nd() : n.alternate === null && Zt === Yc && (Zt = Sv), n.flags &= -257, n.flags |= 65536, n.lanes = o, i === jg ? n.flags |= 16384 : (t = n.updateQueue, t === null ? n.updateQueue = /* @__PURE__ */ new Set([i]) : t.add(i), Mn(e, i, o)), !1;
            case 22:
              return n.flags |= 65536, i === jg ? n.flags |= 16384 : (t = n.updateQueue, t === null ? (t = {
                transitions: null,
                markerInstances: null,
                retryQueue: /* @__PURE__ */ new Set([i])
              }, n.updateQueue = t) : (n = t.retryQueue, n === null ? t.retryQueue = /* @__PURE__ */ new Set([i]) : n.add(i)), Mn(e, i, o)), !1;
          }
          throw Error(
            "Unexpected Suspense handler tag (" + n.tag + "). This is a bug in React."
          );
        }
        return Mn(e, i, o), nd(), !1;
      }
      if (_e)
        return xc = !0, t = Zn.current, t !== null ? ((t.flags & 65536) === 0 && (t.flags |= 256), t.flags |= 65536, t.lanes = o, i !== ev && io(
          ha(
            Error(
              "There was an error while hydrating but React was able to recover by instead client rendering from the nearest Suspense boundary.",
              { cause: i }
            ),
            n
          )
        )) : (i !== ev && io(
          ha(
            Error(
              "There was an error while hydrating but React was able to recover by instead client rendering the entire root.",
              { cause: i }
            ),
            n
          )
        ), e = e.current.alternate, e.flags |= 65536, o &= -o, e.lanes |= o, i = ha(i, n), o = ei(
          e.stateNode,
          i,
          o
        ), Ii(e, o), Zt !== js && (Zt = gh)), !1;
      var f = ha(
        Error(
          "There was an error during concurrent rendering but React was able to recover by instead synchronously rendering the entire root.",
          { cause: i }
        ),
        n
      );
      if ($m === null ? $m = [f] : $m.push(f), Zt !== js && (Zt = gh), t === null) return !0;
      i = ha(i, n), n = t;
      do {
        switch (n.tag) {
          case 3:
            return n.flags |= 65536, e = o & -o, n.lanes |= e, e = ei(
              n.stateNode,
              i,
              e
            ), Ii(n, e), !1;
          case 1:
            if (t = n.type, f = n.stateNode, (n.flags & 128) === 0 && (typeof t.getDerivedStateFromError == "function" || f !== null && typeof f.componentDidCatch == "function" && (Fo === null || !Fo.has(f))))
              return n.flags |= 65536, o &= -o, n.lanes |= o, o = ru(o), bo(
                o,
                e,
                n,
                i
              ), Ii(n, o), !1;
        }
        n = n.return;
      } while (n !== null);
      return !1;
    }
    function Ht(e, t, n, i) {
      t.child = e === null ? NA(t, null, n, i) : ch(
        t,
        e.child,
        n,
        i
      );
    }
    function X0(e, t, n, i, o) {
      n = n.render;
      var f = t.ref;
      if ("ref" in i) {
        var d = {};
        for (var h in i)
          h !== "ref" && (d[h] = i[h]);
      } else d = i;
      return Xu(t), cf(t), i = nu(
        e,
        t,
        n,
        d,
        f,
        o
      ), h = Er(), kc(), e !== null && !wl ? (Tr(e, t, o), Dn(e, t, o)) : (_e && h && pr(t), t.flags |= 1, Ht(e, t, i, o), t.child);
    }
    function Qt(e, t, n, i, o) {
      if (e === null) {
        var f = n.type;
        return typeof f == "function" && !Xh(f) && f.defaultProps === void 0 && n.compare === null ? (n = qi(f), t.tag = 15, t.type = n, Ml(t, f), Qr(
          e,
          t,
          n,
          i,
          o
        )) : (e = gr(
          n.type,
          null,
          i,
          t,
          t.mode,
          o
        ), e.ref = t.ref, e.return = t, t.child = e);
      }
      if (f = e.child, !jr(e, o)) {
        var d = f.memoizedProps;
        if (n = n.compare, n = n !== null ? n : pf, n(d, i) && e.ref === t.ref)
          return Dn(
            e,
            t,
            o
          );
      }
      return t.flags |= 1, e = mn(f, i), e.ref = t.ref, e.return = t, t.child = e;
    }
    function Qr(e, t, n, i, o) {
      if (e !== null) {
        var f = e.memoizedProps;
        if (pf(f, i) && e.ref === t.ref && t.type === e.type)
          if (wl = !1, t.pendingProps = i = f, jr(e, o))
            (e.flags & 131072) !== 0 && (wl = !0);
          else
            return t.lanes = e.lanes, Dn(e, t, o);
      }
      return my(
        e,
        t,
        n,
        i,
        o
      );
    }
    function Nr(e, t, n) {
      var i = t.pendingProps, o = i.children, f = e !== null ? e.memoizedState : null;
      if (i.mode === "hidden") {
        if ((t.flags & 128) !== 0) {
          if (i = f !== null ? f.baseLanes | n : n, e !== null) {
            for (o = t.child = e.child, f = 0; o !== null; )
              f = f | o.lanes | o.childLanes, o = o.sibling;
            t.childLanes = f & ~i;
          } else t.childLanes = 0, t.child = null;
          return yy(
            e,
            t,
            i,
            n
          );
        }
        if ((n & 536870912) !== 0)
          t.memoizedState = { baseLanes: 0, cachePool: null }, e !== null && Df(
            t,
            f !== null ? f.cachePool : null
          ), f !== null ? Uf(t, f) : fo(t), Ku(t);
        else
          return t.lanes = t.childLanes = 536870912, yy(
            e,
            t,
            f !== null ? f.baseLanes | n : n,
            n
          );
      } else
        f !== null ? (Df(t, f.cachePool), Uf(t, f), Ul(t), t.memoizedState = null) : (e !== null && Df(t, null), fo(t), Ul(t));
      return Ht(e, t, o, n), t.child;
    }
    function yy(e, t, n, i) {
      var o = ly();
      return o = o === null ? null : {
        parent: El._currentValue,
        pool: o
      }, t.memoizedState = {
        baseLanes: n,
        cachePool: o
      }, e !== null && Df(t, null), fo(t), Ku(t), e !== null && gl(e, t, i, !0), null;
    }
    function jf(e, t) {
      var n = t.ref;
      if (n === null)
        e !== null && e.ref !== null && (t.flags |= 4194816);
      else {
        if (typeof n != "function" && typeof n != "object")
          throw Error(
            "Expected ref to be a function, an object returned by React.createRef(), or undefined/null."
          );
        (e === null || e.ref !== n) && (t.flags |= 4194816);
      }
    }
    function my(e, t, n, i, o) {
      if (n.prototype && typeof n.prototype.render == "function") {
        var f = $(n) || "Unknown";
        a1[f] || (console.error(
          "The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",
          f,
          f
        ), a1[f] = !0);
      }
      return t.mode & fa && Ru.recordLegacyContextWarning(
        t,
        null
      ), e === null && (Ml(t, t.type), n.contextTypes && (f = $(n) || "Unknown", u1[f] || (u1[f] = !0, console.error(
        "%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with React.useContext() instead. (https://react.dev/link/legacy-context)",
        f
      )))), Xu(t), cf(t), n = nu(
        e,
        t,
        n,
        i,
        void 0,
        o
      ), i = Er(), kc(), e !== null && !wl ? (Tr(e, t, o), Dn(e, t, o)) : (_e && i && pr(t), t.flags |= 1, Ht(e, t, n, o), t.child);
    }
    function wr(e, t, n, i, o, f) {
      return Xu(t), cf(t), wc = -1, km = e !== null && e.type !== t.type, t.updateQueue = null, n = Mf(
        t,
        i,
        n,
        o
      ), ka(e, t), i = Er(), kc(), e !== null && !wl ? (Tr(e, t, f), Dn(e, t, f)) : (_e && i && pr(t), t.flags |= 1, Ht(e, t, n, f), t.child);
    }
    function qr(e, t, n, i, o) {
      switch (le(t)) {
        case !1:
          var f = t.stateNode, d = new t.type(
            t.memoizedProps,
            f.context
          ).state;
          f.updater.enqueueSetState(f, d, null);
          break;
        case !0:
          t.flags |= 128, t.flags |= 65536, f = Error("Simulated error coming from DevTools");
          var h = o & -o;
          if (t.lanes |= h, d = Tt, d === null)
            throw Error(
              "Expected a work-in-progress root. This is a bug in React. Please file an issue."
            );
          h = ru(h), bo(
            h,
            d,
            t,
            ha(f, t)
          ), Ii(t, h);
      }
      if (Xu(t), t.stateNode === null) {
        if (d = Xo, f = n.contextType, "contextType" in n && f !== null && (f === void 0 || f.$$typeof !== an) && !e1.has(n) && (e1.add(n), h = f === void 0 ? " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof f != "object" ? " However, it is set to a " + typeof f + "." : f.$$typeof === di ? " Did you accidentally pass the Context.Consumer instead?" : " However, it is set to an object with keys {" + Object.keys(f).join(", ") + "}.", console.error(
          "%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",
          $(n) || "Component",
          h
        )), typeof f == "object" && f !== null && (d = vt(f)), f = new n(i, d), t.mode & fa) {
          mt(!0);
          try {
            f = new n(i, d);
          } finally {
            mt(!1);
          }
        }
        if (d = t.memoizedState = f.state !== null && f.state !== void 0 ? f.state : null, f.updater = yv, t.stateNode = f, f._reactInternals = t, f._reactInternalInstance = JA, typeof n.getDerivedStateFromProps == "function" && d === null && (d = $(n) || "Component", KA.has(d) || (KA.add(d), console.error(
          "`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",
          d,
          f.state === null ? "null" : "undefined",
          d
        ))), typeof n.getDerivedStateFromProps == "function" || typeof f.getSnapshotBeforeUpdate == "function") {
          var m = h = d = null;
          if (typeof f.componentWillMount == "function" && f.componentWillMount.__suppressDeprecationWarning !== !0 ? d = "componentWillMount" : typeof f.UNSAFE_componentWillMount == "function" && (d = "UNSAFE_componentWillMount"), typeof f.componentWillReceiveProps == "function" && f.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? h = "componentWillReceiveProps" : typeof f.UNSAFE_componentWillReceiveProps == "function" && (h = "UNSAFE_componentWillReceiveProps"), typeof f.componentWillUpdate == "function" && f.componentWillUpdate.__suppressDeprecationWarning !== !0 ? m = "componentWillUpdate" : typeof f.UNSAFE_componentWillUpdate == "function" && (m = "UNSAFE_componentWillUpdate"), d !== null || h !== null || m !== null) {
            f = $(n) || "Component";
            var p = typeof n.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
            IA.has(f) || (IA.add(f), console.error(
              `Unsafe legacy lifecycles will not be called for components using new component APIs.

%s uses %s but also contains the following legacy lifecycles:%s%s%s

The above lifecycles should be removed. Learn more about this warning here:
https://react.dev/link/unsafe-component-lifecycles`,
              f,
              p,
              d !== null ? `
  ` + d : "",
              h !== null ? `
  ` + h : "",
              m !== null ? `
  ` + m : ""
            ));
          }
        }
        f = t.stateNode, d = $(n) || "Component", f.render || (n.prototype && typeof n.prototype.render == "function" ? console.error(
          "No `render` method found on the %s instance: did you accidentally return an object from the constructor?",
          d
        ) : console.error(
          "No `render` method found on the %s instance: you may have forgotten to define `render`.",
          d
        )), !f.getInitialState || f.getInitialState.isReactClassApproved || f.state || console.error(
          "getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",
          d
        ), f.getDefaultProps && !f.getDefaultProps.isReactClassApproved && console.error(
          "getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",
          d
        ), f.contextType && console.error(
          "contextType was defined as an instance property on %s. Use a static property to define contextType instead.",
          d
        ), n.childContextTypes && !$A.has(n) && ($A.add(n), console.error(
          "%s uses the legacy childContextTypes API which was removed in React 19. Use React.createContext() instead. (https://react.dev/link/legacy-context)",
          d
        )), n.contextTypes && !PA.has(n) && (PA.add(n), console.error(
          "%s uses the legacy contextTypes API which was removed in React 19. Use React.createContext() with static contextType instead. (https://react.dev/link/legacy-context)",
          d
        )), typeof f.componentShouldUpdate == "function" && console.error(
          "%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",
          d
        ), n.prototype && n.prototype.isPureReactComponent && typeof f.shouldComponentUpdate < "u" && console.error(
          "%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",
          $(n) || "A pure component"
        ), typeof f.componentDidUnmount == "function" && console.error(
          "%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",
          d
        ), typeof f.componentDidReceiveProps == "function" && console.error(
          "%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",
          d
        ), typeof f.componentWillRecieveProps == "function" && console.error(
          "%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",
          d
        ), typeof f.UNSAFE_componentWillRecieveProps == "function" && console.error(
          "%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",
          d
        ), h = f.props !== i, f.props !== void 0 && h && console.error(
          "When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",
          d
        ), f.defaultProps && console.error(
          "Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",
          d,
          d
        ), typeof f.getSnapshotBeforeUpdate != "function" || typeof f.componentDidUpdate == "function" || WA.has(n) || (WA.add(n), console.error(
          "%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",
          $(n)
        )), typeof f.getDerivedStateFromProps == "function" && console.error(
          "%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
          d
        ), typeof f.getDerivedStateFromError == "function" && console.error(
          "%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",
          d
        ), typeof n.getSnapshotBeforeUpdate == "function" && console.error(
          "%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",
          d
        ), (h = f.state) && (typeof h != "object" || tl(h)) && console.error("%s.state: must be set to an object or null", d), typeof f.getChildContext == "function" && typeof n.childContextTypes != "object" && console.error(
          "%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",
          d
        ), f = t.stateNode, f.props = i, f.state = t.memoizedState, f.refs = {}, ny(t), d = n.contextType, f.context = typeof d == "object" && d !== null ? vt(d) : Xo, f.state === i && (d = $(n) || "Component", FA.has(d) || (FA.add(d), console.error(
          "%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",
          d
        ))), t.mode & fa && Ru.recordLegacyContextWarning(
          t,
          f
        ), Ru.recordUnsafeLifecycleWarnings(
          t,
          f
        ), f.state = t.memoizedState, d = n.getDerivedStateFromProps, typeof d == "function" && (En(
          t,
          n,
          d,
          i
        ), f.state = t.memoizedState), typeof n.getDerivedStateFromProps == "function" || typeof f.getSnapshotBeforeUpdate == "function" || typeof f.UNSAFE_componentWillMount != "function" && typeof f.componentWillMount != "function" || (d = f.state, typeof f.componentWillMount == "function" && f.componentWillMount(), typeof f.UNSAFE_componentWillMount == "function" && f.UNSAFE_componentWillMount(), d !== f.state && (console.error(
          "%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",
          te(t) || "Component"
        ), yv.enqueueReplaceState(
          f,
          f.state,
          null
        )), Fi(t, i, f, o), Ja(), f.state = t.memoizedState), typeof f.componentDidMount == "function" && (t.flags |= 4194308), (t.mode & Cu) !== Et && (t.flags |= 134217728), f = !0;
      } else if (e === null) {
        f = t.stateNode;
        var Q = t.memoizedProps;
        h = Cn(n, Q), f.props = h;
        var H = f.context;
        m = n.contextType, d = Xo, typeof m == "object" && m !== null && (d = vt(m)), p = n.getDerivedStateFromProps, m = typeof p == "function" || typeof f.getSnapshotBeforeUpdate == "function", Q = t.pendingProps !== Q, m || typeof f.UNSAFE_componentWillReceiveProps != "function" && typeof f.componentWillReceiveProps != "function" || (Q || H !== d) && jt(
          t,
          f,
          i,
          d
        ), ko = !1;
        var B = t.memoizedState;
        f.state = B, Fi(t, i, f, o), Ja(), H = t.memoizedState, Q || B !== H || ko ? (typeof p == "function" && (En(
          t,
          n,
          p,
          i
        ), H = t.memoizedState), (h = ko || Tn(
          t,
          n,
          h,
          i,
          B,
          H,
          d
        )) ? (m || typeof f.UNSAFE_componentWillMount != "function" && typeof f.componentWillMount != "function" || (typeof f.componentWillMount == "function" && f.componentWillMount(), typeof f.UNSAFE_componentWillMount == "function" && f.UNSAFE_componentWillMount()), typeof f.componentDidMount == "function" && (t.flags |= 4194308), (t.mode & Cu) !== Et && (t.flags |= 134217728)) : (typeof f.componentDidMount == "function" && (t.flags |= 4194308), (t.mode & Cu) !== Et && (t.flags |= 134217728), t.memoizedProps = i, t.memoizedState = H), f.props = i, f.state = H, f.context = d, f = h) : (typeof f.componentDidMount == "function" && (t.flags |= 4194308), (t.mode & Cu) !== Et && (t.flags |= 134217728), f = !1);
      } else {
        f = t.stateNode, jl(e, t), d = t.memoizedProps, m = Cn(n, d), f.props = m, p = t.pendingProps, B = f.context, H = n.contextType, h = Xo, typeof H == "object" && H !== null && (h = vt(H)), Q = n.getDerivedStateFromProps, (H = typeof Q == "function" || typeof f.getSnapshotBeforeUpdate == "function") || typeof f.UNSAFE_componentWillReceiveProps != "function" && typeof f.componentWillReceiveProps != "function" || (d !== p || B !== h) && jt(
          t,
          f,
          i,
          h
        ), ko = !1, B = t.memoizedState, f.state = B, Fi(t, i, f, o), Ja();
        var Y = t.memoizedState;
        d !== p || B !== Y || ko || e !== null && e.dependencies !== null && Zu(e.dependencies) ? (typeof Q == "function" && (En(
          t,
          n,
          Q,
          i
        ), Y = t.memoizedState), (m = ko || Tn(
          t,
          n,
          m,
          i,
          B,
          Y,
          h
        ) || e !== null && e.dependencies !== null && Zu(e.dependencies)) ? (H || typeof f.UNSAFE_componentWillUpdate != "function" && typeof f.componentWillUpdate != "function" || (typeof f.componentWillUpdate == "function" && f.componentWillUpdate(i, Y, h), typeof f.UNSAFE_componentWillUpdate == "function" && f.UNSAFE_componentWillUpdate(
          i,
          Y,
          h
        )), typeof f.componentDidUpdate == "function" && (t.flags |= 4), typeof f.getSnapshotBeforeUpdate == "function" && (t.flags |= 1024)) : (typeof f.componentDidUpdate != "function" || d === e.memoizedProps && B === e.memoizedState || (t.flags |= 4), typeof f.getSnapshotBeforeUpdate != "function" || d === e.memoizedProps && B === e.memoizedState || (t.flags |= 1024), t.memoizedProps = i, t.memoizedState = Y), f.props = i, f.state = Y, f.context = h, f = m) : (typeof f.componentDidUpdate != "function" || d === e.memoizedProps && B === e.memoizedState || (t.flags |= 4), typeof f.getSnapshotBeforeUpdate != "function" || d === e.memoizedProps && B === e.memoizedState || (t.flags |= 1024), f = !1);
      }
      if (h = f, jf(e, t), d = (t.flags & 128) !== 0, h || d) {
        if (h = t.stateNode, Uu(t), d && typeof n.getDerivedStateFromError != "function")
          n = null, Sa = -1;
        else {
          if (cf(t), n = bA(h), t.mode & fa) {
            mt(!0);
            try {
              bA(h);
            } finally {
              mt(!1);
            }
          }
          kc();
        }
        t.flags |= 1, e !== null && d ? (t.child = ch(
          t,
          e.child,
          null,
          o
        ), t.child = ch(
          t,
          null,
          n,
          o
        )) : Ht(e, t, n, o), t.memoizedState = h.state, e = t.child;
      } else
        e = Dn(
          e,
          t,
          o
        );
      return o = t.stateNode, f && o.props !== i && (hh || console.error(
        "It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",
        te(t) || "a component"
      ), hh = !0), e;
    }
    function Yr(e, t, n, i) {
      return ji(), t.flags |= 256, Ht(e, t, n, i), t.child;
    }
    function Ml(e, t) {
      t && t.childContextTypes && console.error(
        `childContextTypes cannot be defined on a function component.
  %s.childContextTypes = ...`,
        t.displayName || t.name || "Component"
      ), typeof t.getDerivedStateFromProps == "function" && (e = $(t) || "Unknown", i1[e] || (console.error(
        "%s: Function components do not support getDerivedStateFromProps.",
        e
      ), i1[e] = !0)), typeof t.contextType == "object" && t.contextType !== null && (t = $(t) || "Unknown", n1[t] || (console.error(
        "%s: Function components do not support contextType.",
        t
      ), n1[t] = !0));
    }
    function Nt(e) {
      return { baseLanes: e, cachePool: ay() };
    }
    function Vf(e, t, n) {
      return e = e !== null ? e.childLanes & ~n : 0, t && (e |= on), e;
    }
    function Eo(e, t, n) {
      var i, o = t.pendingProps;
      I(t) && (t.flags |= 128);
      var f = !1, d = (t.flags & 128) !== 0;
      if ((i = d) || (i = e !== null && e.memoizedState === null ? !1 : (Tl.current & Xm) !== 0), i && (f = !0, t.flags &= -129), i = (t.flags & 32) !== 0, t.flags &= -33, e === null) {
        if (_e) {
          if (f ? _t(t) : Ul(t), _e) {
            var h = Gt, m;
            if (!(m = !h)) {
              e: {
                var p = h;
                for (m = Si; p.nodeType !== 8; ) {
                  if (!m) {
                    m = null;
                    break e;
                  }
                  if (p = la(p.nextSibling), p === null) {
                    m = null;
                    break e;
                  }
                }
                m = p;
              }
              m !== null ? (Va(), t.memoizedState = {
                dehydrated: m,
                treeContext: Hs !== null ? { id: Mc, overflow: Bc } : null,
                retryLane: 536870912,
                hydrationErrors: null
              }, p = ye(18, null, null, Et), p.stateNode = m, p.return = t, t.child = p, Aa = t, Gt = null, m = !0) : m = !1, m = !m;
            }
            m && (Kh(
              t,
              h
            ), gn(t));
          }
          if (h = t.memoizedState, h !== null && (h = h.dehydrated, h !== null))
            return Ed(h) ? t.lanes = 32 : t.lanes = 536870912, null;
          pl(t);
        }
        return h = o.children, o = o.fallback, f ? (Ul(t), f = t.mode, h = Co(
          {
            mode: "hidden",
            children: h
          },
          f
        ), o = ju(
          o,
          f,
          n,
          null
        ), h.return = t, o.return = t, h.sibling = o, t.child = h, f = t.child, f.memoizedState = Nt(n), f.childLanes = Vf(
          e,
          i,
          n
        ), t.memoizedState = vv, o) : (_t(t), To(
          t,
          h
        ));
      }
      var Q = e.memoizedState;
      if (Q !== null && (h = Q.dehydrated, h !== null)) {
        if (d)
          t.flags & 256 ? (_t(t), t.flags &= -257, t = Fa(
            e,
            t,
            n
          )) : t.memoizedState !== null ? (Ul(t), t.child = e.child, t.flags |= 128, t = null) : (Ul(t), f = o.fallback, h = t.mode, o = Co(
            {
              mode: "visible",
              children: o.children
            },
            h
          ), f = ju(
            f,
            h,
            n,
            null
          ), f.flags |= 2, o.return = t, f.return = t, o.sibling = f, t.child = o, ch(
            t,
            e.child,
            null,
            n
          ), o = t.child, o.memoizedState = Nt(n), o.childLanes = Vf(
            e,
            i,
            n
          ), t.memoizedState = vv, t = f);
        else if (_t(t), _e && console.error(
          "We should not be hydrating here. This is a bug in React. Please file a bug."
        ), Ed(h)) {
          if (i = h.nextSibling && h.nextSibling.dataset, i) {
            m = i.dgst;
            var H = i.msg;
            p = i.stck;
            var B = i.cstck;
          }
          h = H, i = m, o = p, m = f = B, f = Error(h || "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."), f.stack = o || "", f.digest = i, i = m === void 0 ? null : m, o = {
            value: f,
            source: null,
            stack: i
          }, typeof i == "string" && Pp.set(
            f,
            o
          ), io(o), t = Fa(
            e,
            t,
            n
          );
        } else if (wl || gl(
          e,
          t,
          n,
          !1
        ), i = (n & e.childLanes) !== 0, wl || i) {
          if (i = Tt, i !== null && (o = n & -n, o = (o & 42) !== 0 ? 1 : Ic(
            o
          ), o = (o & (i.suspendedLanes | n)) !== 0 ? 0 : o, o !== 0 && o !== Q.retryLane))
            throw Q.retryLane = o, Fl(
              e,
              o
            ), wt(
              i,
              e,
              o
            ), l1;
          h.data === Lc || nd(), t = Fa(
            e,
            t,
            n
          );
        } else
          h.data === Lc ? (t.flags |= 192, t.child = e.child, t = null) : (e = Q.treeContext, Gt = la(
            h.nextSibling
          ), Aa = t, _e = !0, Qs = null, xc = !1, Gn = null, Si = !1, e !== null && (Va(), jn[Vn++] = Mc, jn[Vn++] = Bc, jn[Vn++] = Hs, Mc = e.id, Bc = e.overflow, Hs = t), t = To(
            t,
            o.children
          ), t.flags |= 4096);
        return t;
      }
      return f ? (Ul(t), f = o.fallback, h = t.mode, m = e.child, p = m.sibling, o = mn(
        m,
        {
          mode: "hidden",
          children: o.children
        }
      ), o.subtreeFlags = m.subtreeFlags & 65011712, p !== null ? f = mn(
        p,
        f
      ) : (f = ju(
        f,
        h,
        n,
        null
      ), f.flags |= 2), f.return = t, o.return = t, o.sibling = f, t.child = o, o = f, f = t.child, h = e.child.memoizedState, h === null ? h = Nt(n) : (m = h.cachePool, m !== null ? (p = El._currentValue, m = m.parent !== p ? { parent: p, pool: p } : m) : m = ay(), h = {
        baseLanes: h.baseLanes | n,
        cachePool: m
      }), f.memoizedState = h, f.childLanes = Vf(
        e,
        i,
        n
      ), t.memoizedState = vv, o) : (_t(t), n = e.child, e = n.sibling, n = mn(n, {
        mode: "visible",
        children: o.children
      }), n.return = t, n.sibling = null, e !== null && (i = t.deletions, i === null ? (t.deletions = [e], t.flags |= 16) : i.push(e)), t.child = n, t.memoizedState = null, n);
    }
    function To(e, t) {
      return t = Co(
        { mode: "visible", children: t },
        e.mode
      ), t.return = e, e.child = t;
    }
    function Co(e, t) {
      return e = ye(22, e, null, t), e.lanes = 0, e.stateNode = {
        _visibility: Bg,
        _pendingMarkers: null,
        _retryCache: null,
        _transitions: null
      }, e;
    }
    function Fa(e, t, n) {
      return ch(t, e.child, null, n), e = To(
        t,
        t.pendingProps.children
      ), e.flags |= 2, t.memoizedState = null, e;
    }
    function Gf(e, t, n) {
      e.lanes |= t;
      var i = e.alternate;
      i !== null && (i.lanes |= t), Ph(
        e.return,
        t,
        n
      );
    }
    function Lr(e, t) {
      var n = tl(e);
      return e = !n && typeof F(e) == "function", n || e ? (n = n ? "array" : "iterable", console.error(
        "A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",
        n,
        t,
        n
      ), !1) : !0;
    }
    function Zf(e, t, n, i, o) {
      var f = e.memoizedState;
      f === null ? e.memoizedState = {
        isBackwards: t,
        rendering: null,
        renderingStartTime: 0,
        last: i,
        tail: n,
        tailMode: o
      } : (f.isBackwards = t, f.rendering = null, f.renderingStartTime = 0, f.last = i, f.tail = n, f.tailMode = o);
    }
    function gy(e, t, n) {
      var i = t.pendingProps, o = i.revealOrder, f = i.tail;
      if (i = i.children, o !== void 0 && o !== "forwards" && o !== "backwards" && o !== "together" && !c1[o])
        if (c1[o] = !0, typeof o == "string")
          switch (o.toLowerCase()) {
            case "together":
            case "forwards":
            case "backwards":
              console.error(
                '"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',
                o,
                o.toLowerCase()
              );
              break;
            case "forward":
            case "backward":
              console.error(
                '"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',
                o,
                o.toLowerCase()
              );
              break;
            default:
              console.error(
                '"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
                o
              );
          }
        else
          console.error(
            '%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',
            o
          );
      f === void 0 || pv[f] || (f !== "collapsed" && f !== "hidden" ? (pv[f] = !0, console.error(
        '"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',
        f
      )) : o !== "forwards" && o !== "backwards" && (pv[f] = !0, console.error(
        '<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',
        f
      )));
      e: if ((o === "forwards" || o === "backwards") && i !== void 0 && i !== null && i !== !1)
        if (tl(i)) {
          for (var d = 0; d < i.length; d++)
            if (!Lr(i[d], d)) break e;
        } else if (d = F(i), typeof d == "function") {
          if (d = d.call(i))
            for (var h = d.next(), m = 0; !h.done; h = d.next()) {
              if (!Lr(h.value, m)) break e;
              m++;
            }
        } else
          console.error(
            'A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',
            o
          );
      if (Ht(e, t, i, n), i = Tl.current, (i & Xm) !== 0)
        i = i & fh | Xm, t.flags |= 128;
      else {
        if (e !== null && (e.flags & 128) !== 0)
          e: for (e = t.child; e !== null; ) {
            if (e.tag === 13)
              e.memoizedState !== null && Gf(
                e,
                n,
                t
              );
            else if (e.tag === 19)
              Gf(e, n, t);
            else if (e.child !== null) {
              e.child.return = e, e = e.child;
              continue;
            }
            if (e === t) break e;
            for (; e.sibling === null; ) {
              if (e.return === null || e.return === t)
                break e;
              e = e.return;
            }
            e.sibling.return = e.return, e = e.sibling;
          }
        i &= fh;
      }
      switch (Ce(Tl, i, t), o) {
        case "forwards":
          for (n = t.child, o = null; n !== null; )
            e = n.alternate, e !== null && An(e) === null && (o = n), n = n.sibling;
          n = o, n === null ? (o = t.child, t.child = null) : (o = n.sibling, n.sibling = null), Zf(
            t,
            !1,
            o,
            n,
            f
          );
          break;
        case "backwards":
          for (n = null, o = t.child, t.child = null; o !== null; ) {
            if (e = o.alternate, e !== null && An(e) === null) {
              t.child = o;
              break;
            }
            e = o.sibling, o.sibling = n, n = o, o = e;
          }
          Zf(
            t,
            !0,
            n,
            null,
            f
          );
          break;
        case "together":
          Zf(t, !1, null, null, void 0);
          break;
        default:
          t.memoizedState = null;
      }
      return t.child;
    }
    function Dn(e, t, n) {
      if (e !== null && (t.dependencies = e.dependencies), Sa = -1, Wo |= t.lanes, (n & t.childLanes) === 0)
        if (e !== null) {
          if (gl(
            e,
            t,
            n,
            !1
          ), (n & t.childLanes) === 0)
            return null;
        } else return null;
      if (e !== null && t.child !== e.child)
        throw Error("Resuming work not yet implemented.");
      if (t.child !== null) {
        for (e = t.child, n = mn(e, e.pendingProps), t.child = n, n.return = t; e.sibling !== null; )
          e = e.sibling, n = n.sibling = mn(e, e.pendingProps), n.return = t;
        n.sibling = null;
      }
      return t.child;
    }
    function jr(e, t) {
      return (e.lanes & t) !== 0 ? !0 : (e = e.dependencies, !!(e !== null && Zu(e)));
    }
    function J0(e, t, n) {
      switch (t.tag) {
        case 3:
          Yl(
            t,
            t.stateNode.containerInfo
          ), Gu(
            t,
            El,
            e.memoizedState.cache
          ), ji();
          break;
        case 27:
        case 5:
          J(t);
          break;
        case 4:
          Yl(
            t,
            t.stateNode.containerInfo
          );
          break;
        case 10:
          Gu(
            t,
            t.type,
            t.memoizedProps.value
          );
          break;
        case 12:
          (n & t.childLanes) !== 0 && (t.flags |= 4), t.flags |= 2048;
          var i = t.stateNode;
          i.effectDuration = -0, i.passiveEffectDuration = -0;
          break;
        case 13:
          if (i = t.memoizedState, i !== null)
            return i.dehydrated !== null ? (_t(t), t.flags |= 128, null) : (n & t.child.childLanes) !== 0 ? Eo(
              e,
              t,
              n
            ) : (_t(t), e = Dn(
              e,
              t,
              n
            ), e !== null ? e.sibling : null);
          _t(t);
          break;
        case 19:
          var o = (e.flags & 128) !== 0;
          if (i = (n & t.childLanes) !== 0, i || (gl(
            e,
            t,
            n,
            !1
          ), i = (n & t.childLanes) !== 0), o) {
            if (i)
              return gy(
                e,
                t,
                n
              );
            t.flags |= 128;
          }
          if (o = t.memoizedState, o !== null && (o.rendering = null, o.tail = null, o.lastEffect = null), Ce(
            Tl,
            Tl.current,
            t
          ), i) break;
          return null;
        case 22:
        case 23:
          return t.lanes = 0, Nr(e, t, n);
        case 24:
          Gu(
            t,
            El,
            e.memoizedState.cache
          );
      }
      return Dn(e, t, n);
    }
    function Vr(e, t, n) {
      if (t._debugNeedsRemount && e !== null) {
        n = gr(
          t.type,
          t.key,
          t.pendingProps,
          t._debugOwner || null,
          t.mode,
          t.lanes
        ), n._debugStack = t._debugStack, n._debugTask = t._debugTask;
        var i = t.return;
        if (i === null) throw Error("Cannot swap the root fiber.");
        if (e.alternate = null, t.alternate = null, n.index = t.index, n.sibling = t.sibling, n.return = t.return, n.ref = t.ref, n._debugInfo = t._debugInfo, t === i.child)
          i.child = n;
        else {
          var o = i.child;
          if (o === null)
            throw Error("Expected parent to have a child.");
          for (; o.sibling !== t; )
            if (o = o.sibling, o === null)
              throw Error("Expected to find the previous sibling.");
          o.sibling = n;
        }
        return t = i.deletions, t === null ? (i.deletions = [e], i.flags |= 16) : t.push(e), n.flags |= 2, n;
      }
      if (e !== null)
        if (e.memoizedProps !== t.pendingProps || t.type !== e.type)
          wl = !0;
        else {
          if (!jr(e, n) && (t.flags & 128) === 0)
            return wl = !1, J0(
              e,
              t,
              n
            );
          wl = (e.flags & 131072) !== 0;
        }
      else
        wl = !1, (i = _e) && (Va(), i = (t.flags & 1048576) !== 0), i && (i = t.index, Va(), Y0(t, Hg, i));
      switch (t.lanes = 0, t.tag) {
        case 16:
          e: if (i = t.pendingProps, e = Jo(t.elementType), t.type = e, typeof e == "function")
            Xh(e) ? (i = Cn(
              e,
              i
            ), t.tag = 1, t.type = e = qi(e), t = qr(
              null,
              t,
              e,
              i,
              n
            )) : (t.tag = 0, Ml(t, e), t.type = e = qi(e), t = my(
              null,
              t,
              e,
              i,
              n
            ));
          else {
            if (e != null) {
              if (o = e.$$typeof, o === ps) {
                t.tag = 11, t.type = e = Zh(e), t = X0(
                  null,
                  t,
                  e,
                  i,
                  n
                );
                break e;
              } else if (o === vs) {
                t.tag = 14, t = Qt(
                  null,
                  t,
                  e,
                  i,
                  n
                );
                break e;
              }
            }
            throw t = "", e !== null && typeof e == "object" && e.$$typeof === Hl && (t = " Did you wrap a component in React.lazy() more than once?"), e = $(e) || e, Error(
              "Element type is invalid. Received a promise that resolves to: " + e + ". Lazy element type must resolve to a class or function." + t
            );
          }
          return t;
        case 0:
          return my(
            e,
            t,
            t.type,
            t.pendingProps,
            n
          );
        case 1:
          return i = t.type, o = Cn(
            i,
            t.pendingProps
          ), qr(
            e,
            t,
            i,
            o,
            n
          );
        case 3:
          e: {
            if (Yl(
              t,
              t.stateNode.containerInfo
            ), e === null)
              throw Error(
                "Should have a current fiber. This is a bug in React."
              );
            i = t.pendingProps;
            var f = t.memoizedState;
            o = f.element, jl(e, t), Fi(t, i, null, n);
            var d = t.memoizedState;
            if (i = d.cache, Gu(t, El, i), i !== f.cache && $h(
              t,
              [El],
              n,
              !0
            ), Ja(), i = d.element, f.isDehydrated)
              if (f = {
                element: i,
                isDehydrated: !1,
                cache: d.cache
              }, t.updateQueue.baseState = f, t.memoizedState = f, t.flags & 256) {
                t = Yr(
                  e,
                  t,
                  i,
                  n
                );
                break e;
              } else if (i !== o) {
                o = ha(
                  Error(
                    "This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."
                  ),
                  t
                ), io(o), t = Yr(
                  e,
                  t,
                  i,
                  n
                );
                break e;
              } else {
                switch (e = t.stateNode.containerInfo, e.nodeType) {
                  case 9:
                    e = e.body;
                    break;
                  default:
                    e = e.nodeName === "HTML" ? e.ownerDocument.body : e;
                }
                for (Gt = la(e.firstChild), Aa = t, _e = !0, Qs = null, xc = !1, Gn = null, Si = !0, e = NA(
                  t,
                  null,
                  i,
                  n
                ), t.child = e; e; )
                  e.flags = e.flags & -3 | 4096, e = e.sibling;
              }
            else {
              if (ji(), i === o) {
                t = Dn(
                  e,
                  t,
                  n
                );
                break e;
              }
              Ht(
                e,
                t,
                i,
                n
              );
            }
            t = t.child;
          }
          return t;
        case 26:
          return jf(e, t), e === null ? (e = am(
            t.type,
            null,
            t.pendingProps,
            null
          )) ? t.memoizedState = e : _e || (e = t.type, n = t.pendingProps, i = nl(
            yi.current
          ), i = yu(
            i
          ).createElement(e), i[Ql] = t, i[Nl] = n, fl(i, e, n), kt(i), t.stateNode = i) : t.memoizedState = am(
            t.type,
            e.memoizedProps,
            t.pendingProps,
            e.memoizedState
          ), null;
        case 27:
          return J(t), e === null && _e && (i = nl(yi.current), o = R(), i = t.stateNode = mu(
            t.type,
            t.pendingProps,
            i,
            o,
            !1
          ), xc || (o = ta(
            i,
            t.type,
            t.pendingProps,
            o
          ), o !== null && (Ga(t, 0).serverProps = o)), Aa = t, Si = !0, o = Gt, Nn(t.type) ? (jv = o, Gt = la(
            i.firstChild
          )) : Gt = o), Ht(
            e,
            t,
            t.pendingProps.children,
            n
          ), jf(e, t), e === null && (t.flags |= 4194304), t.child;
        case 5:
          return e === null && _e && (f = R(), i = cr(
            t.type,
            f.ancestorInfo
          ), o = Gt, (d = !o) || (d = Py(
            o,
            t.type,
            t.pendingProps,
            Si
          ), d !== null ? (t.stateNode = d, xc || (f = ta(
            d,
            t.type,
            t.pendingProps,
            f
          ), f !== null && (Ga(t, 0).serverProps = f)), Aa = t, Gt = la(
            d.firstChild
          ), Si = !1, f = !0) : f = !1, d = !f), d && (i && Kh(t, o), gn(t))), J(t), o = t.type, f = t.pendingProps, d = e !== null ? e.memoizedProps : null, i = f.children, zt(o, f) ? i = null : d !== null && zt(o, d) && (t.flags |= 32), t.memoizedState !== null && (o = nu(
            e,
            t,
            Pi,
            null,
            null,
            n
          ), c0._currentValue = o), jf(e, t), Ht(
            e,
            t,
            i,
            n
          ), t.child;
        case 6:
          return e === null && _e && (e = t.pendingProps, n = R(), i = n.ancestorInfo.current, e = i != null ? hf(
            e,
            i.tag,
            n.ancestorInfo.implicitRootScope
          ) : !0, n = Gt, (i = !n) || (i = $y(
            n,
            t.pendingProps,
            Si
          ), i !== null ? (t.stateNode = i, Aa = t, Gt = null, i = !0) : i = !1, i = !i), i && (e && Kh(t, n), gn(t))), null;
        case 13:
          return Eo(e, t, n);
        case 4:
          return Yl(
            t,
            t.stateNode.containerInfo
          ), i = t.pendingProps, e === null ? t.child = ch(
            t,
            null,
            i,
            n
          ) : Ht(
            e,
            t,
            i,
            n
          ), t.child;
        case 11:
          return X0(
            e,
            t,
            t.type,
            t.pendingProps,
            n
          );
        case 7:
          return Ht(
            e,
            t,
            t.pendingProps,
            n
          ), t.child;
        case 8:
          return Ht(
            e,
            t,
            t.pendingProps.children,
            n
          ), t.child;
        case 12:
          return t.flags |= 4, t.flags |= 2048, i = t.stateNode, i.effectDuration = -0, i.passiveEffectDuration = -0, Ht(
            e,
            t,
            t.pendingProps.children,
            n
          ), t.child;
        case 10:
          return i = t.type, o = t.pendingProps, f = o.value, "value" in o || o1 || (o1 = !0, console.error(
            "The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"
          )), Gu(t, i, f), Ht(
            e,
            t,
            o.children,
            n
          ), t.child;
        case 9:
          return o = t.type._context, i = t.pendingProps.children, typeof i != "function" && console.error(
            "A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."
          ), Xu(t), o = vt(o), cf(t), i = uv(
            i,
            o,
            void 0
          ), kc(), t.flags |= 1, Ht(
            e,
            t,
            i,
            n
          ), t.child;
        case 14:
          return Qt(
            e,
            t,
            t.type,
            t.pendingProps,
            n
          );
        case 15:
          return Qr(
            e,
            t,
            t.type,
            t.pendingProps,
            n
          );
        case 19:
          return gy(
            e,
            t,
            n
          );
        case 31:
          return i = t.pendingProps, n = t.mode, i = {
            mode: i.mode,
            children: i.children
          }, e === null ? (e = Co(
            i,
            n
          ), e.ref = t.ref, t.child = e, e.return = t, t = e) : (e = mn(e.child, i), e.ref = t.ref, t.child = e, e.return = t, t = e), t;
        case 22:
          return Nr(e, t, n);
        case 24:
          return Xu(t), i = vt(El), e === null ? (o = ly(), o === null && (o = Tt, f = Tf(), o.pooledCache = f, Vi(f), f !== null && (o.pooledCacheLanes |= n), o = f), t.memoizedState = {
            parent: i,
            cache: o
          }, ny(t), Gu(t, El, o)) : ((e.lanes & n) !== 0 && (jl(e, t), Fi(t, null, null, n), Ja()), o = e.memoizedState, f = t.memoizedState, o.parent !== i ? (o = {
            parent: i,
            cache: i
          }, t.memoizedState = o, t.lanes === 0 && (t.memoizedState = t.updateQueue.baseState = o), Gu(t, El, i)) : (i = f.cache, Gu(t, El, i), i !== o.cache && $h(
            t,
            [El],
            n,
            !0
          ))), Ht(
            e,
            t,
            t.pendingProps.children,
            n
          ), t.child;
        case 29:
          throw t.pendingProps;
      }
      throw Error(
        "Unknown unit of work tag (" + t.tag + "). This error is likely caused by a bug in React. Please file an issue."
      );
    }
    function On(e) {
      e.flags |= 4;
    }
    function Xf(e, t, n, i, o) {
      if ((t = (e.mode & XS) !== Et) && (t = !1), t) {
        if (e.flags |= 16777216, (o & 335544128) === o)
          if (e.stateNode.complete) e.flags |= 8192;
          else if (td()) e.flags |= 8192;
          else
            throw uh = jg, nv;
      } else e.flags &= -16777217;
    }
    function py(e, t) {
      if (t.type !== "stylesheet" || (t.state.loading & Kn) !== Ws)
        e.flags &= -16777217;
      else if (e.flags |= 16777216, !cm(t))
        if (td()) e.flags |= 8192;
        else
          throw uh = jg, nv;
    }
    function Gr(e, t) {
      t !== null && (e.flags |= 4), e.flags & 16384 && (t = e.tag !== 22 ? Wl() : 536870912, e.lanes |= t, Zs |= t);
    }
    function Ro(e, t) {
      if (!_e)
        switch (e.tailMode) {
          case "hidden":
            t = e.tail;
            for (var n = null; t !== null; )
              t.alternate !== null && (n = t), t = t.sibling;
            n === null ? e.tail = null : n.sibling = null;
            break;
          case "collapsed":
            n = e.tail;
            for (var i = null; n !== null; )
              n.alternate !== null && (i = n), n = n.sibling;
            i === null ? t || e.tail === null ? e.tail = null : e.tail.sibling = null : i.sibling = null;
        }
    }
    function At(e) {
      var t = e.alternate !== null && e.alternate.child === e.child, n = 0, i = 0;
      if (t)
        if ((e.mode & kl) !== Et) {
          for (var o = e.selfBaseDuration, f = e.child; f !== null; )
            n |= f.lanes | f.childLanes, i |= f.subtreeFlags & 65011712, i |= f.flags & 65011712, o += f.treeBaseDuration, f = f.sibling;
          e.treeBaseDuration = o;
        } else
          for (o = e.child; o !== null; )
            n |= o.lanes | o.childLanes, i |= o.subtreeFlags & 65011712, i |= o.flags & 65011712, o.return = e, o = o.sibling;
      else if ((e.mode & kl) !== Et) {
        o = e.actualDuration, f = e.selfBaseDuration;
        for (var d = e.child; d !== null; )
          n |= d.lanes | d.childLanes, i |= d.subtreeFlags, i |= d.flags, o += d.actualDuration, f += d.treeBaseDuration, d = d.sibling;
        e.actualDuration = o, e.treeBaseDuration = f;
      } else
        for (o = e.child; o !== null; )
          n |= o.lanes | o.childLanes, i |= o.subtreeFlags, i |= o.flags, o.return = e, o = o.sibling;
      return e.subtreeFlags |= i, e.childLanes = n, t;
    }
    function k0(e, t, n) {
      var i = t.pendingProps;
      switch (vr(t), t.tag) {
        case 31:
        case 16:
        case 15:
        case 0:
        case 11:
        case 7:
        case 8:
        case 12:
        case 9:
        case 14:
          return At(t), null;
        case 1:
          return At(t), null;
        case 3:
          return n = t.stateNode, i = null, e !== null && (i = e.memoizedState.cache), t.memoizedState.cache !== i && (t.flags |= 2048), lu(El, t), Jt(t), n.pendingContext && (n.context = n.pendingContext, n.pendingContext = null), (e === null || e.child === null) && (Li(t) ? (_h(), On(t)) : e === null || e.memoizedState.isDehydrated && (t.flags & 256) === 0 || (t.flags |= 1024, Fh())), At(t), null;
        case 26:
          var o = t.type, f = t.memoizedState;
          return e === null ? (On(t), f !== null ? (At(t), py(
            t,
            f
          )) : (At(t), Xf(
            t,
            o,
            null,
            i,
            n
          ))) : f ? f !== e.memoizedState ? (On(t), At(t), py(
            t,
            f
          )) : (At(t), t.flags &= -16777217) : (e = e.memoizedProps, e !== i && On(t), At(t), Xf(
            t,
            o,
            e,
            i,
            n
          )), null;
        case 27:
          if (W(t), n = nl(yi.current), o = t.type, e !== null && t.stateNode != null)
            e.memoizedProps !== i && On(t);
          else {
            if (!i) {
              if (t.stateNode === null)
                throw Error(
                  "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
                );
              return At(t), null;
            }
            e = R(), Li(t) ? Wh(t) : (e = mu(
              o,
              i,
              n,
              e,
              !0
            ), t.stateNode = e, On(t));
          }
          return At(t), null;
        case 5:
          if (W(t), o = t.type, e !== null && t.stateNode != null)
            e.memoizedProps !== i && On(t);
          else {
            if (!i) {
              if (t.stateNode === null)
                throw Error(
                  "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
                );
              return At(t), null;
            }
            var d = R();
            if (Li(t))
              Wh(t);
            else {
              switch (f = nl(yi.current), cr(o, d.ancestorInfo), d = d.context, f = yu(f), d) {
                case Eh:
                  f = f.createElementNS(
                    qn,
                    o
                  );
                  break;
                case op:
                  f = f.createElementNS(
                    xs,
                    o
                  );
                  break;
                default:
                  switch (o) {
                    case "svg":
                      f = f.createElementNS(
                        qn,
                        o
                      );
                      break;
                    case "math":
                      f = f.createElementNS(
                        xs,
                        o
                      );
                      break;
                    case "script":
                      f = f.createElement("div"), f.innerHTML = "<script><\/script>", f = f.removeChild(
                        f.firstChild
                      );
                      break;
                    case "select":
                      f = typeof i.is == "string" ? f.createElement("select", {
                        is: i.is
                      }) : f.createElement("select"), i.multiple ? f.multiple = !0 : i.size && (f.size = i.size);
                      break;
                    default:
                      f = typeof i.is == "string" ? f.createElement(o, {
                        is: i.is
                      }) : f.createElement(o), o.indexOf("-") === -1 && (o !== o.toLowerCase() && console.error(
                        "<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",
                        o
                      ), Object.prototype.toString.call(f) !== "[object HTMLUnknownElement]" || Vt.call(O1, o) || (O1[o] = !0, console.error(
                        "The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",
                        o
                      )));
                  }
              }
              f[Ql] = t, f[Nl] = i;
              e: for (d = t.child; d !== null; ) {
                if (d.tag === 5 || d.tag === 6)
                  f.appendChild(d.stateNode);
                else if (d.tag !== 4 && d.tag !== 27 && d.child !== null) {
                  d.child.return = d, d = d.child;
                  continue;
                }
                if (d === t) break e;
                for (; d.sibling === null; ) {
                  if (d.return === null || d.return === t)
                    break e;
                  d = d.return;
                }
                d.sibling.return = d.return, d = d.sibling;
              }
              t.stateNode = f;
              e: switch (fl(f, o, i), o) {
                case "button":
                case "input":
                case "select":
                case "textarea":
                  i = !!i.autoFocus;
                  break e;
                case "img":
                  i = !0;
                  break e;
                default:
                  i = !1;
              }
              i && On(t);
            }
          }
          return At(t), Xf(
            t,
            t.type,
            e === null ? null : e.memoizedProps,
            t.pendingProps,
            n
          ), null;
        case 6:
          if (e && t.stateNode != null)
            e.memoizedProps !== i && On(t);
          else {
            if (typeof i != "string" && t.stateNode === null)
              throw Error(
                "We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue."
              );
            if (e = nl(yi.current), n = R(), Li(t)) {
              if (e = t.stateNode, n = t.memoizedProps, o = !xc, i = null, f = Aa, f !== null)
                switch (f.tag) {
                  case 3:
                    o && (o = em(
                      e,
                      n,
                      i
                    ), o !== null && (Ga(t, 0).serverProps = o));
                    break;
                  case 27:
                  case 5:
                    i = f.memoizedProps, o && (o = em(
                      e,
                      n,
                      i
                    ), o !== null && (Ga(
                      t,
                      0
                    ).serverProps = o));
                }
              e[Ql] = t, e = !!(e.nodeValue === n || i !== null && i.suppressHydrationWarning === !0 || hc(e.nodeValue, n)), e || gn(t, !0);
            } else
              o = n.ancestorInfo.current, o != null && hf(
                i,
                o.tag,
                n.ancestorInfo.implicitRootScope
              ), e = yu(e).createTextNode(
                i
              ), e[Ql] = t, t.stateNode = e;
          }
          return At(t), null;
        case 13:
          if (i = t.memoizedState, e === null || e.memoizedState !== null && e.memoizedState.dehydrated !== null) {
            if (o = Li(t), i !== null && i.dehydrated !== null) {
              if (e === null) {
                if (!o)
                  throw Error(
                    "A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React."
                  );
                if (o = t.memoizedState, o = o !== null ? o.dehydrated : null, !o)
                  throw Error(
                    "Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue."
                  );
                o[Ql] = t, At(t), (t.mode & kl) !== Et && i !== null && (o = t.child, o !== null && (t.treeBaseDuration -= o.treeBaseDuration));
              } else
                _h(), ji(), (t.flags & 128) === 0 && (t.memoizedState = null), t.flags |= 4, At(t), (t.mode & kl) !== Et && i !== null && (o = t.child, o !== null && (t.treeBaseDuration -= o.treeBaseDuration));
              o = !1;
            } else
              o = Fh(), e !== null && e.memoizedState !== null && (e.memoizedState.hydrationErrors = o), o = !0;
            if (!o)
              return t.flags & 256 ? (pl(t), t) : (pl(t), null);
          }
          return pl(t), (t.flags & 128) !== 0 ? (t.lanes = n, (t.mode & kl) !== Et && Rf(t), t) : (n = i !== null, e = e !== null && e.memoizedState !== null, n && (i = t.child, o = null, i.alternate !== null && i.alternate.memoizedState !== null && i.alternate.memoizedState.cachePool !== null && (o = i.alternate.memoizedState.cachePool.pool), f = null, i.memoizedState !== null && i.memoizedState.cachePool !== null && (f = i.memoizedState.cachePool.pool), f !== o && (i.flags |= 2048)), n !== e && n && (t.child.flags |= 8192), Gr(t, t.updateQueue), At(t), (t.mode & kl) !== Et && n && (e = t.child, e !== null && (t.treeBaseDuration -= e.treeBaseDuration)), null);
        case 4:
          return Jt(t), e === null && gd(
            t.stateNode.containerInfo
          ), At(t), null;
        case 10:
          return lu(t.type, t), At(t), null;
        case 19:
          if (Ye(Tl, t), o = t.memoizedState, o === null) return At(t), null;
          if (i = (t.flags & 128) !== 0, f = o.rendering, f === null)
            if (i) Ro(o, !1);
            else {
              if (Zt !== Yc || e !== null && (e.flags & 128) !== 0)
                for (e = t.child; e !== null; ) {
                  if (f = An(e), f !== null) {
                    for (t.flags |= 128, Ro(o, !1), e = f.updateQueue, t.updateQueue = e, Gr(t, e), t.subtreeFlags = 0, e = n, n = t.child; n !== null; )
                      Jh(n, e), n = n.sibling;
                    return Ce(
                      Tl,
                      Tl.current & fh | Xm,
                      t
                    ), t.child;
                  }
                  e = e.sibling;
                }
              o.tail !== null && wn() > Ig && (t.flags |= 128, i = !0, Ro(o, !1), t.lanes = 4194304);
            }
          else {
            if (!i)
              if (e = An(f), e !== null) {
                if (t.flags |= 128, i = !0, e = e.updateQueue, t.updateQueue = e, Gr(t, e), Ro(o, !0), o.tail === null && o.tailMode === "hidden" && !f.alternate && !_e)
                  return At(t), null;
              } else
                2 * wn() - o.renderingStartTime > Ig && n !== 536870912 && (t.flags |= 128, i = !0, Ro(o, !1), t.lanes = 4194304);
            o.isBackwards ? (f.sibling = t.child, t.child = f) : (e = o.last, e !== null ? e.sibling = f : t.child = f, o.last = f);
          }
          return o.tail !== null ? (e = o.tail, o.rendering = e, o.tail = e.sibling, o.renderingStartTime = wn(), e.sibling = null, n = Tl.current, n = i ? n & fh | Xm : n & fh, Ce(Tl, n, t), e) : (At(t), null);
        case 22:
        case 23:
          return pl(t), Pl(t), i = t.memoizedState !== null, e !== null ? e.memoizedState !== null !== i && (t.flags |= 8192) : i && (t.flags |= 8192), i ? (n & 536870912) !== 0 && (t.flags & 128) === 0 && (At(t), t.subtreeFlags & 6 && (t.flags |= 8192)) : At(t), n = t.updateQueue, n !== null && Gr(t, n.retryQueue), n = null, e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), i = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (i = t.memoizedState.cachePool.pool), i !== n && (t.flags |= 2048), e !== null && Ye(qs, t), null;
        case 24:
          return n = null, e !== null && (n = e.memoizedState.cache), t.memoizedState.cache !== n && (t.flags |= 2048), lu(El, t), At(t), null;
        case 25:
          return null;
        case 30:
          return null;
      }
      throw Error(
        "Unknown unit of work tag (" + t.tag + "). This error is likely caused by a bug in React. Please file an issue."
      );
    }
    function vy(e, t) {
      switch (vr(t), t.tag) {
        case 1:
          return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, (t.mode & kl) !== Et && Rf(t), t) : null;
        case 3:
          return lu(El, t), Jt(t), e = t.flags, (e & 65536) !== 0 && (e & 128) === 0 ? (t.flags = e & -65537 | 128, t) : null;
        case 26:
        case 27:
        case 5:
          return W(t), null;
        case 13:
          if (pl(t), e = t.memoizedState, e !== null && e.dehydrated !== null) {
            if (t.alternate === null)
              throw Error(
                "Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue."
              );
            ji();
          }
          return e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, (t.mode & kl) !== Et && Rf(t), t) : null;
        case 19:
          return Ye(Tl, t), null;
        case 4:
          return Jt(t), null;
        case 10:
          return lu(t.type, t), null;
        case 22:
        case 23:
          return pl(t), Pl(t), e !== null && Ye(qs, t), e = t.flags, e & 65536 ? (t.flags = e & -65537 | 128, (t.mode & kl) !== Et && Rf(t), t) : null;
        case 24:
          return lu(El, t), null;
        case 25:
          return null;
        default:
          return null;
      }
    }
    function Ay(e, t) {
      switch (vr(t), t.tag) {
        case 3:
          lu(El, t), Jt(t);
          break;
        case 26:
        case 27:
        case 5:
          W(t);
          break;
        case 4:
          Jt(t);
          break;
        case 13:
          pl(t);
          break;
        case 19:
          Ye(Tl, t);
          break;
        case 10:
          lu(t.type, t);
          break;
        case 22:
        case 23:
          pl(t), Pl(t), e !== null && Ye(qs, t);
          break;
        case 24:
          lu(El, t);
      }
    }
    function _a(e) {
      return (e.mode & kl) !== Et;
    }
    function Sy(e, t) {
      _a(e) ? (Xa(), Do(t, e), Ol()) : Do(t, e);
    }
    function Zr(e, t, n) {
      _a(e) ? (Xa(), Oo(
        n,
        e,
        t
      ), Ol()) : Oo(
        n,
        e,
        t
      );
    }
    function Do(e, t) {
      try {
        var n = t.updateQueue, i = n !== null ? n.lastEffect : null;
        if (i !== null) {
          var o = i.next;
          n = o;
          do {
            if ((n.tag & e) === e && ((e & Cl) !== Xn ? P !== null && typeof P.markComponentPassiveEffectMountStarted == "function" && P.markComponentPassiveEffectMountStarted(
              t
            ) : (e & Kl) !== Xn && P !== null && typeof P.markComponentLayoutEffectMountStarted == "function" && P.markComponentLayoutEffectMountStarted(
              t
            ), i = void 0, (e & ba) !== Xn && (Sh = !0), i = ae(
              t,
              _S,
              n
            ), (e & ba) !== Xn && (Sh = !1), (e & Cl) !== Xn ? P !== null && typeof P.markComponentPassiveEffectMountStopped == "function" && P.markComponentPassiveEffectMountStopped() : (e & Kl) !== Xn && P !== null && typeof P.markComponentLayoutEffectMountStopped == "function" && P.markComponentLayoutEffectMountStopped(), i !== void 0 && typeof i != "function")) {
              var f = void 0;
              f = (n.tag & Kl) !== 0 ? "useLayoutEffect" : (n.tag & ba) !== 0 ? "useInsertionEffect" : "useEffect";
              var d = void 0;
              d = i === null ? " You returned null. If your effect does not require clean up, return undefined (or nothing)." : typeof i.then == "function" ? `

It looks like you wrote ` + f + `(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:

` + f + `(() => {
  async function fetchData() {
    // You can await here
    const response = await MyAPI.getData(someId);
    // ...
  }
  fetchData();
}, [someId]); // Or [] if effect doesn't need props or state

Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fetching` : " You returned: " + i, ae(
                t,
                function(h, m) {
                  console.error(
                    "%s must not return anything besides a function, which is used for clean-up.%s",
                    h,
                    m
                  );
                },
                f,
                d
              );
            }
            n = n.next;
          } while (n !== o);
        }
      } catch (h) {
        Fe(t, t.return, h);
      }
    }
    function Oo(e, t, n) {
      try {
        var i = t.updateQueue, o = i !== null ? i.lastEffect : null;
        if (o !== null) {
          var f = o.next;
          i = f;
          do {
            if ((i.tag & e) === e) {
              var d = i.inst, h = d.destroy;
              h !== void 0 && (d.destroy = void 0, (e & Cl) !== Xn ? P !== null && typeof P.markComponentPassiveEffectUnmountStarted == "function" && P.markComponentPassiveEffectUnmountStarted(
                t
              ) : (e & Kl) !== Xn && P !== null && typeof P.markComponentLayoutEffectUnmountStarted == "function" && P.markComponentLayoutEffectUnmountStarted(
                t
              ), (e & ba) !== Xn && (Sh = !0), o = t, ae(
                o,
                PS,
                o,
                n,
                h
              ), (e & ba) !== Xn && (Sh = !1), (e & Cl) !== Xn ? P !== null && typeof P.markComponentPassiveEffectUnmountStopped == "function" && P.markComponentPassiveEffectUnmountStopped() : (e & Kl) !== Xn && P !== null && typeof P.markComponentLayoutEffectUnmountStopped == "function" && P.markComponentLayoutEffectUnmountStopped());
            }
            i = i.next;
          } while (i !== f);
        }
      } catch (m) {
        Fe(t, t.return, m);
      }
    }
    function by(e, t) {
      _a(e) ? (Xa(), Do(t, e), Ol()) : Do(t, e);
    }
    function ti(e, t, n) {
      _a(e) ? (Xa(), Oo(
        n,
        e,
        t
      ), Ol()) : Oo(
        n,
        e,
        t
      );
    }
    function Ey(e) {
      var t = e.updateQueue;
      if (t !== null) {
        var n = e.stateNode;
        e.type.defaultProps || "ref" in e.memoizedProps || hh || (n.props !== e.memoizedProps && console.error(
          "Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
          te(e) || "instance"
        ), n.state !== e.memoizedState && console.error(
          "Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
          te(e) || "instance"
        ));
        try {
          ae(
            e,
            _i,
            t,
            n
          );
        } catch (i) {
          Fe(e, e.return, i);
        }
      }
    }
    function Xr(e, t, n) {
      return e.getSnapshotBeforeUpdate(t, n);
    }
    function Jr(e, t) {
      var n = t.memoizedProps, i = t.memoizedState;
      t = e.stateNode, e.type.defaultProps || "ref" in e.memoizedProps || hh || (t.props !== e.memoizedProps && console.error(
        "Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
        te(e) || "instance"
      ), t.state !== e.memoizedState && console.error(
        "Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
        te(e) || "instance"
      ));
      try {
        var o = Cn(
          e.type,
          n,
          e.elementType === e.type
        ), f = ae(
          e,
          Xr,
          t,
          o,
          i
        );
        n = f1, f !== void 0 || n.has(e.type) || (n.add(e.type), ae(e, function() {
          console.error(
            "%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",
            te(e)
          );
        })), t.__reactInternalSnapshotBeforeUpdate = f;
      } catch (d) {
        Fe(e, e.return, d);
      }
    }
    function Ty(e, t, n) {
      n.props = Cn(
        e.type,
        e.memoizedProps
      ), n.state = e.memoizedState, _a(e) ? (Xa(), ae(
        e,
        OA,
        e,
        t,
        n
      ), Ol()) : ae(
        e,
        OA,
        e,
        t,
        n
      );
    }
    function Cy(e) {
      var t = e.ref;
      if (t !== null) {
        switch (e.tag) {
          case 26:
          case 27:
          case 5:
            var n = e.stateNode;
            break;
          case 30:
            n = e.stateNode;
            break;
          default:
            n = e.stateNode;
        }
        if (typeof t == "function")
          if (_a(e))
            try {
              Xa(), e.refCleanup = t(n);
            } finally {
              Ol();
            }
          else e.refCleanup = t(n);
        else
          typeof t == "string" ? console.error("String refs are no longer supported.") : t.hasOwnProperty("current") || console.error(
            "Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",
            te(e)
          ), t.current = n;
      }
    }
    function zo(e, t) {
      try {
        ae(e, Cy, e);
      } catch (n) {
        Fe(e, t, n);
      }
    }
    function Pa(e, t) {
      var n = e.ref, i = e.refCleanup;
      if (n !== null)
        if (typeof i == "function")
          try {
            if (_a(e))
              try {
                Xa(), ae(e, i);
              } finally {
                Ol(e);
              }
            else ae(e, i);
          } catch (o) {
            Fe(e, t, o);
          } finally {
            e.refCleanup = null, e = e.alternate, e != null && (e.refCleanup = null);
          }
        else if (typeof n == "function")
          try {
            if (_a(e))
              try {
                Xa(), ae(e, n, null);
              } finally {
                Ol(e);
              }
            else ae(e, n, null);
          } catch (o) {
            Fe(e, t, o);
          }
        else n.current = null;
    }
    function Ry(e, t, n, i) {
      var o = e.memoizedProps, f = o.id, d = o.onCommit;
      o = o.onRender, t = t === null ? "mount" : "update", wg && (t = "nested-update"), typeof o == "function" && o(
        f,
        t,
        e.actualDuration,
        e.treeBaseDuration,
        e.actualStartTime,
        n
      ), typeof d == "function" && d(
        e.memoizedProps.id,
        t,
        i,
        n
      );
    }
    function K0(e, t, n, i) {
      var o = e.memoizedProps;
      e = o.id, o = o.onPostCommit, t = t === null ? "mount" : "update", wg && (t = "nested-update"), typeof o == "function" && o(
        e,
        t,
        i,
        n
      );
    }
    function kr(e) {
      var t = e.type, n = e.memoizedProps, i = e.stateNode;
      try {
        ae(
          e,
          Fy,
          i,
          t,
          n,
          e
        );
      } catch (o) {
        Fe(e, e.return, o);
      }
    }
    function Kr(e, t, n) {
      try {
        ae(
          e,
          Ua,
          e.stateNode,
          e.type,
          n,
          t,
          e
        );
      } catch (i) {
        Fe(e, e.return, i);
      }
    }
    function Dy(e) {
      return e.tag === 5 || e.tag === 3 || e.tag === 26 || e.tag === 27 && Nn(e.type) || e.tag === 4;
    }
    function Jf(e) {
      e: for (; ; ) {
        for (; e.sibling === null; ) {
          if (e.return === null || Dy(e.return)) return null;
          e = e.return;
        }
        for (e.sibling.return = e.return, e = e.sibling; e.tag !== 5 && e.tag !== 6 && e.tag !== 18; ) {
          if (e.tag === 27 && Nn(e.type) || e.flags & 2 || e.child === null || e.tag === 4) continue e;
          e.child.return = e, e = e.child;
        }
        if (!(e.flags & 2)) return e.stateNode;
      }
    }
    function Wr(e, t, n) {
      var i = e.tag;
      if (i === 5 || i === 6)
        e = e.stateNode, t ? (Xl(n), (n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n).insertBefore(e, t)) : (Xl(n), t = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, t.appendChild(e), n = n._reactRootContainer, n != null || t.onclick !== null || (t.onclick = is));
      else if (i !== 4 && (i === 27 && Nn(e.type) && (n = e.stateNode, t = null), e = e.child, e !== null))
        for (Wr(e, t, n), e = e.sibling; e !== null; )
          Wr(e, t, n), e = e.sibling;
    }
    function kf(e, t, n) {
      var i = e.tag;
      if (i === 5 || i === 6)
        e = e.stateNode, t ? n.insertBefore(e, t) : n.appendChild(e);
      else if (i !== 4 && (i === 27 && Nn(e.type) && (n = e.stateNode), e = e.child, e !== null))
        for (kf(e, t, n), e = e.sibling; e !== null; )
          kf(e, t, n), e = e.sibling;
    }
    function xp(e) {
      for (var t, n = e.return; n !== null; ) {
        if (Dy(n)) {
          t = n;
          break;
        }
        n = n.return;
      }
      if (t == null)
        throw Error(
          "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
        );
      switch (t.tag) {
        case 27:
          t = t.stateNode, n = Jf(e), kf(
            e,
            n,
            t
          );
          break;
        case 5:
          n = t.stateNode, t.flags & 32 && (gc(n), t.flags &= -33), t = Jf(e), kf(
            e,
            t,
            n
          );
          break;
        case 3:
        case 4:
          t = t.stateNode.containerInfo, n = Jf(e), Wr(
            e,
            n,
            t
          );
          break;
        default:
          throw Error(
            "Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue."
          );
      }
    }
    function Ir(e) {
      var t = e.stateNode, n = e.memoizedProps;
      try {
        ae(
          e,
          Td,
          e.type,
          n,
          t,
          e
        );
      } catch (i) {
        Fe(e, e.return, i);
      }
    }
    function W0(e, t) {
      if (e = e.containerInfo, qv = dp, e = H0(e), Vh(e)) {
        if ("selectionStart" in e)
          var n = {
            start: e.selectionStart,
            end: e.selectionEnd
          };
        else
          e: {
            n = (n = e.ownerDocument) && n.defaultView || window;
            var i = n.getSelection && n.getSelection();
            if (i && i.rangeCount !== 0) {
              n = i.anchorNode;
              var o = i.anchorOffset, f = i.focusNode;
              i = i.focusOffset;
              try {
                n.nodeType, f.nodeType;
              } catch {
                n = null;
                break e;
              }
              var d = 0, h = -1, m = -1, p = 0, Q = 0, H = e, B = null;
              t: for (; ; ) {
                for (var Y; H !== n || o !== 0 && H.nodeType !== 3 || (h = d + o), H !== f || i !== 0 && H.nodeType !== 3 || (m = d + i), H.nodeType === 3 && (d += H.nodeValue.length), (Y = H.firstChild) !== null; )
                  B = H, H = Y;
                for (; ; ) {
                  if (H === e) break t;
                  if (B === n && ++p === o && (h = d), B === f && ++Q === i && (m = d), (Y = H.nextSibling) !== null) break;
                  H = B, B = H.parentNode;
                }
                H = Y;
              }
              n = h === -1 || m === -1 ? null : { start: h, end: m };
            } else n = null;
          }
        n = n || { start: 0, end: 0 };
      } else n = null;
      for (Yv = {
        focusedElem: e,
        selectionRange: n
      }, dp = !1, ql = t; ql !== null; )
        if (t = ql, e = t.child, (t.subtreeFlags & 1024) !== 0 && e !== null)
          e.return = t, ql = e;
        else
          for (; ql !== null; ) {
            switch (e = t = ql, n = e.alternate, o = e.flags, e.tag) {
              case 0:
                break;
              case 11:
              case 15:
                break;
              case 1:
                (o & 1024) !== 0 && n !== null && Jr(e, n);
                break;
              case 3:
                if ((o & 1024) !== 0) {
                  if (e = e.stateNode.containerInfo, n = e.nodeType, n === 9)
                    fi(e);
                  else if (n === 1)
                    switch (e.nodeName) {
                      case "HEAD":
                      case "HTML":
                      case "BODY":
                        fi(e);
                        break;
                      default:
                        e.textContent = "";
                    }
                }
                break;
              case 5:
              case 26:
              case 27:
              case 6:
              case 4:
              case 17:
                break;
              default:
                if ((o & 1024) !== 0)
                  throw Error(
                    "This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue."
                  );
            }
            if (e = t.sibling, e !== null) {
              e.return = t.return, ql = e;
              break;
            }
            ql = t.return;
          }
    }
    function Oy(e, t, n) {
      var i = _l(), o = n.flags;
      switch (n.tag) {
        case 0:
        case 11:
        case 15:
          Un(e, n), o & 4 && Sy(n, Kl | Jn);
          break;
        case 1:
          if (Un(e, n), o & 4)
            if (e = n.stateNode, t === null)
              n.type.defaultProps || "ref" in n.memoizedProps || hh || (e.props !== n.memoizedProps && console.error(
                "Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                te(n) || "instance"
              ), e.state !== n.memoizedState && console.error(
                "Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                te(n) || "instance"
              )), _a(n) ? (Xa(), ae(
                n,
                iv,
                n,
                e
              ), Ol()) : ae(
                n,
                iv,
                n,
                e
              );
            else {
              var f = Cn(
                n.type,
                t.memoizedProps
              );
              t = t.memoizedState, n.type.defaultProps || "ref" in n.memoizedProps || hh || (e.props !== n.memoizedProps && console.error(
                "Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",
                te(n) || "instance"
              ), e.state !== n.memoizedState && console.error(
                "Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",
                te(n) || "instance"
              )), _a(n) ? (Xa(), ae(
                n,
                CA,
                n,
                e,
                f,
                t,
                e.__reactInternalSnapshotBeforeUpdate
              ), Ol()) : ae(
                n,
                CA,
                n,
                e,
                f,
                t,
                e.__reactInternalSnapshotBeforeUpdate
              );
            }
          o & 64 && Ey(n), o & 512 && zo(n, n.return);
          break;
        case 3:
          if (t = Za(), Un(e, n), o & 64 && (o = n.updateQueue, o !== null)) {
            if (f = null, n.child !== null)
              switch (n.child.tag) {
                case 27:
                case 5:
                  f = n.child.stateNode;
                  break;
                case 1:
                  f = n.child.stateNode;
              }
            try {
              ae(
                n,
                _i,
                o,
                f
              );
            } catch (h) {
              Fe(n, n.return, h);
            }
          }
          e.effectDuration += Ju(t);
          break;
        case 27:
          t === null && o & 4 && Ir(n);
        case 26:
        case 5:
          Un(e, n), t === null && o & 4 && kr(n), o & 512 && zo(n, n.return);
          break;
        case 12:
          if (o & 4) {
            o = Za(), Un(e, n), e = n.stateNode, e.effectDuration += Gi(o);
            try {
              ae(
                n,
                Ry,
                n,
                t,
                Ng,
                e.effectDuration
              );
            } catch (h) {
              Fe(n, n.return, h);
            }
          } else Un(e, n);
          break;
        case 13:
          Un(e, n), o & 4 && I0(e, n), o & 64 && (e = n.memoizedState, e !== null && (e = e.dehydrated, e !== null && (n = ns.bind(
            null,
            n
          ), fs(e, n))));
          break;
        case 22:
          if (o = n.memoizedState !== null || qc, !o) {
            t = t !== null && t.memoizedState !== null || ll, f = qc;
            var d = ll;
            qc = o, (ll = t) && !d ? du(
              e,
              n,
              (n.subtreeFlags & 8772) !== 0
            ) : Un(e, n), qc = f, ll = d;
          }
          break;
        case 30:
          break;
        default:
          Un(e, n);
      }
      It(i);
    }
    function Fr(e) {
      var t = e.alternate;
      t !== null && (e.alternate = null, Fr(t)), e.child = null, e.deletions = null, e.sibling = null, e.tag === 5 && (t = e.stateNode, t !== null && tr(t)), e.stateNode = null, e._debugOwner = null, e.return = null, e.dependencies = null, e.memoizedProps = null, e.memoizedState = null, e.pendingProps = null, e.stateNode = null, e.updateQueue = null;
    }
    function zn(e, t, n) {
      for (n = n.child; n !== null; )
        zy(
          e,
          t,
          n
        ), n = n.sibling;
    }
    function zy(e, t, n) {
      if (bl && typeof bl.onCommitFiberUnmount == "function")
        try {
          bl.onCommitFiberUnmount(Vo, n);
        } catch (d) {
          ca || (ca = !0, console.error(
            "React instrumentation encountered an error: %s",
            d
          ));
        }
      var i = _l();
      switch (n.tag) {
        case 26:
          ll || Pa(n, t), zn(
            e,
            t,
            n
          ), n.memoizedState ? n.memoizedState.count-- : n.stateNode && (n = n.stateNode, n.parentNode.removeChild(n));
          break;
        case 27:
          ll || Pa(n, t);
          var o = dl, f = wa;
          Nn(n.type) && (dl = n.stateNode, wa = !1), zn(
            e,
            t,
            n
          ), ae(
            n,
            pc,
            n.stateNode
          ), dl = o, wa = f;
          break;
        case 5:
          ll || Pa(n, t);
        case 6:
          if (o = dl, f = wa, dl = null, zn(
            e,
            t,
            n
          ), dl = o, wa = f, dl !== null)
            if (wa)
              try {
                ae(
                  n,
                  bd,
                  dl,
                  n.stateNode
                );
              } catch (d) {
                Fe(
                  n,
                  t,
                  d
                );
              }
            else
              try {
                ae(
                  n,
                  _y,
                  dl,
                  n.stateNode
                );
              } catch (d) {
                Fe(
                  n,
                  t,
                  d
                );
              }
          break;
        case 18:
          dl !== null && (wa ? (e = dl, os(
            e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e,
            n.stateNode
          ), bc(e)) : os(dl, n.stateNode));
          break;
        case 4:
          o = dl, f = wa, dl = n.stateNode.containerInfo, wa = !0, zn(
            e,
            t,
            n
          ), dl = o, wa = f;
          break;
        case 0:
        case 11:
        case 14:
        case 15:
          ll || Oo(
            ba,
            n,
            t
          ), ll || Zr(
            n,
            t,
            Kl
          ), zn(
            e,
            t,
            n
          );
          break;
        case 1:
          ll || (Pa(n, t), o = n.stateNode, typeof o.componentWillUnmount == "function" && Ty(
            n,
            t,
            o
          )), zn(
            e,
            t,
            n
          );
          break;
        case 21:
          zn(
            e,
            t,
            n
          );
          break;
        case 22:
          ll = (o = ll) || n.memoizedState !== null, zn(
            e,
            t,
            n
          ), ll = o;
          break;
        default:
          zn(
            e,
            t,
            n
          );
      }
      It(i);
    }
    function I0(e, t) {
      if (t.memoizedState === null && (e = t.alternate, e !== null && (e = e.memoizedState, e !== null && (e = e.dehydrated, e !== null))))
        try {
          ae(
            t,
            Qp,
            e
          );
        } catch (n) {
          Fe(t, t.return, n);
        }
    }
    function Hp(e) {
      switch (e.tag) {
        case 13:
        case 19:
          var t = e.stateNode;
          return t === null && (t = e.stateNode = new s1()), t;
        case 22:
          return e = e.stateNode, t = e._retryCache, t === null && (t = e._retryCache = new s1()), t;
        default:
          throw Error(
            "Unexpected Suspense handler tag (" + e.tag + "). This is a bug in React."
          );
      }
    }
    function _r(e, t) {
      var n = Hp(e);
      t.forEach(function(i) {
        var o = Bn.bind(null, e, i);
        if (!n.has(i)) {
          if (n.add(i), xa)
            if (yh !== null && mh !== null)
              dc(mh, yh);
            else
              throw Error(
                "Expected finished root and lanes to be set. This is a bug in React."
              );
          i.then(o, o);
        }
      });
    }
    function Sl(e, t) {
      var n = t.deletions;
      if (n !== null)
        for (var i = 0; i < n.length; i++) {
          var o = e, f = t, d = n[i], h = _l(), m = f;
          e: for (; m !== null; ) {
            switch (m.tag) {
              case 27:
                if (Nn(m.type)) {
                  dl = m.stateNode, wa = !1;
                  break e;
                }
                break;
              case 5:
                dl = m.stateNode, wa = !1;
                break e;
              case 3:
              case 4:
                dl = m.stateNode.containerInfo, wa = !0;
                break e;
            }
            m = m.return;
          }
          if (dl === null)
            throw Error(
              "Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue."
            );
          zy(o, f, d), dl = null, wa = !1, It(h), o = d, f = o.alternate, f !== null && (f.return = null), o.return = null;
        }
      if (t.subtreeFlags & 13878)
        for (t = t.child; t !== null; )
          Pr(t, e), t = t.sibling;
    }
    function Pr(e, t) {
      var n = _l(), i = e.alternate, o = e.flags;
      switch (e.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          Sl(t, e), Bl(e), o & 4 && (Oo(
            ba | Jn,
            e,
            e.return
          ), Do(ba | Jn, e), Zr(
            e,
            e.return,
            Kl | Jn
          ));
          break;
        case 1:
          Sl(t, e), Bl(e), o & 512 && (ll || i === null || Pa(i, i.return)), o & 64 && qc && (e = e.updateQueue, e !== null && (o = e.callbacks, o !== null && (i = e.shared.hiddenCallbacks, e.shared.hiddenCallbacks = i === null ? o : i.concat(o))));
          break;
        case 26:
          var f = Ou;
          if (Sl(t, e), Bl(e), o & 512 && (ll || i === null || Pa(i, i.return)), o & 4)
            if (t = i !== null ? i.memoizedState : null, o = e.memoizedState, i === null)
              if (o === null)
                if (e.stateNode === null) {
                  e: {
                    o = e.type, i = e.memoizedProps, t = f.ownerDocument || f;
                    t: switch (o) {
                      case "title":
                        f = t.getElementsByTagName("title")[0], (!f || f[mi] || f[Ql] || f.namespaceURI === qn || f.hasAttribute("itemprop")) && (f = t.createElement(o), t.head.insertBefore(
                          f,
                          t.querySelector("head > title")
                        )), fl(f, o, i), f[Ql] = e, kt(f), o = f;
                        break e;
                      case "link":
                        var d = um(
                          "link",
                          "href",
                          t
                        ).get(o + (i.href || ""));
                        if (d) {
                          for (var h = 0; h < d.length; h++)
                            if (f = d[h], f.getAttribute("href") === (i.href == null || i.href === "" ? null : i.href) && f.getAttribute("rel") === (i.rel == null ? null : i.rel) && f.getAttribute("title") === (i.title == null ? null : i.title) && f.getAttribute("crossorigin") === (i.crossOrigin == null ? null : i.crossOrigin)) {
                              d.splice(h, 1);
                              break t;
                            }
                        }
                        f = t.createElement(o), fl(f, o, i), t.head.appendChild(f);
                        break;
                      case "meta":
                        if (d = um(
                          "meta",
                          "content",
                          t
                        ).get(o + (i.content || ""))) {
                          for (h = 0; h < d.length; h++)
                            if (f = d[h], ct(
                              i.content,
                              "content"
                            ), f.getAttribute("content") === (i.content == null ? null : "" + i.content) && f.getAttribute("name") === (i.name == null ? null : i.name) && f.getAttribute("property") === (i.property == null ? null : i.property) && f.getAttribute("http-equiv") === (i.httpEquiv == null ? null : i.httpEquiv) && f.getAttribute("charset") === (i.charSet == null ? null : i.charSet)) {
                              d.splice(h, 1);
                              break t;
                            }
                        }
                        f = t.createElement(o), fl(f, o, i), t.head.appendChild(f);
                        break;
                      default:
                        throw Error(
                          'getNodesForType encountered a type it did not expect: "' + o + '". This is a bug in React.'
                        );
                    }
                    f[Ql] = e, kt(f), o = f;
                  }
                  e.stateNode = o;
                } else
                  im(
                    f,
                    e.type,
                    e.stateNode
                  );
              else
                e.stateNode = nm(
                  f,
                  o,
                  e.memoizedProps
                );
            else
              t !== o ? (t === null ? i.stateNode !== null && (i = i.stateNode, i.parentNode.removeChild(i)) : t.count--, o === null ? im(
                f,
                e.type,
                e.stateNode
              ) : nm(
                f,
                o,
                e.memoizedProps
              )) : o === null && e.stateNode !== null && Kr(
                e,
                e.memoizedProps,
                i.memoizedProps
              );
          break;
        case 27:
          Sl(t, e), Bl(e), o & 512 && (ll || i === null || Pa(i, i.return)), i !== null && o & 4 && Kr(
            e,
            e.memoizedProps,
            i.memoizedProps
          );
          break;
        case 5:
          if (Sl(t, e), Bl(e), o & 512 && (ll || i === null || Pa(i, i.return)), e.flags & 32) {
            t = e.stateNode;
            try {
              ae(e, gc, t);
            } catch (H) {
              Fe(e, e.return, H);
            }
          }
          o & 4 && e.stateNode != null && (t = e.memoizedProps, Kr(
            e,
            t,
            i !== null ? i.memoizedProps : t
          )), o & 1024 && (Av = !0, e.type !== "form" && console.error(
            "Unexpected host component type. Expected a form. This is a bug in React."
          ));
          break;
        case 6:
          if (Sl(t, e), Bl(e), o & 4) {
            if (e.stateNode === null)
              throw Error(
                "This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue."
              );
            o = e.memoizedProps, i = i !== null ? i.memoizedProps : o, t = e.stateNode;
            try {
              ae(
                e,
                cs,
                t,
                i,
                o
              );
            } catch (H) {
              Fe(e, e.return, H);
            }
          }
          break;
        case 3:
          if (f = Za(), fp = null, d = Ou, Ou = gu(t.containerInfo), Sl(t, e), Ou = d, Bl(e), o & 4 && i !== null && i.memoizedState.isDehydrated)
            try {
              ae(
                e,
                cg,
                t.containerInfo
              );
            } catch (H) {
              Fe(e, e.return, H);
            }
          Av && (Av = !1, Uy(e)), t.effectDuration += Ju(f);
          break;
        case 4:
          o = Ou, Ou = gu(
            e.stateNode.containerInfo
          ), Sl(t, e), Bl(e), Ou = o;
          break;
        case 12:
          o = Za(), Sl(t, e), Bl(e), e.stateNode.effectDuration += Gi(o);
          break;
        case 13:
          Sl(t, e), Bl(e), e.child.flags & 8192 && e.memoizedState !== null != (i !== null && i.memoizedState !== null) && (Rv = wn()), o & 4 && (o = e.updateQueue, o !== null && (e.updateQueue = null, _r(e, o)));
          break;
        case 22:
          f = e.memoizedState !== null;
          var m = i !== null && i.memoizedState !== null, p = qc, Q = ll;
          if (qc = p || f, ll = Q || m, Sl(t, e), ll = Q, qc = p, Bl(e), o & 8192)
            e: for (t = e.stateNode, t._visibility = f ? t._visibility & ~Bg : t._visibility | Bg, f && (i === null || m || qc || ll || li(e)), i = null, t = e; ; ) {
              if (t.tag === 5 || t.tag === 26) {
                if (i === null) {
                  m = i = t;
                  try {
                    d = m.stateNode, f ? ae(m, ci, d) : ae(
                      m,
                      oi,
                      m.stateNode,
                      m.memoizedProps
                    );
                  } catch (H) {
                    Fe(m, m.return, H);
                  }
                }
              } else if (t.tag === 6) {
                if (i === null) {
                  m = t;
                  try {
                    h = m.stateNode, f ? ae(m, el, h) : ae(
                      m,
                      xo,
                      h,
                      m.memoizedProps
                    );
                  } catch (H) {
                    Fe(m, m.return, H);
                  }
                }
              } else if ((t.tag !== 22 && t.tag !== 23 || t.memoizedState === null || t === e) && t.child !== null) {
                t.child.return = t, t = t.child;
                continue;
              }
              if (t === e) break e;
              for (; t.sibling === null; ) {
                if (t.return === null || t.return === e)
                  break e;
                i === t && (i = null), t = t.return;
              }
              i === t && (i = null), t.sibling.return = t.return, t = t.sibling;
            }
          o & 4 && (o = e.updateQueue, o !== null && (i = o.retryQueue, i !== null && (o.retryQueue = null, _r(e, i))));
          break;
        case 19:
          Sl(t, e), Bl(e), o & 4 && (o = e.updateQueue, o !== null && (e.updateQueue = null, _r(e, o)));
          break;
        case 30:
          break;
        case 21:
          break;
        default:
          Sl(t, e), Bl(e);
      }
      It(n);
    }
    function Bl(e) {
      var t = e.flags;
      if (t & 2) {
        try {
          ae(e, xp, e);
        } catch (n) {
          Fe(e, e.return, n);
        }
        e.flags &= -3;
      }
      t & 4096 && (e.flags &= -4097);
    }
    function Uy(e) {
      if (e.subtreeFlags & 1024)
        for (e = e.child; e !== null; ) {
          var t = e;
          Uy(t), t.tag === 5 && t.flags & 1024 && t.stateNode.reset(), e = e.sibling;
        }
    }
    function Un(e, t) {
      if (t.subtreeFlags & 8772)
        for (t = t.child; t !== null; )
          Oy(e, t.alternate, t), t = t.sibling;
    }
    function Kf(e) {
      var t = _l();
      switch (e.tag) {
        case 0:
        case 11:
        case 14:
        case 15:
          Zr(
            e,
            e.return,
            Kl
          ), li(e);
          break;
        case 1:
          Pa(e, e.return);
          var n = e.stateNode;
          typeof n.componentWillUnmount == "function" && Ty(
            e,
            e.return,
            n
          ), li(e);
          break;
        case 27:
          ae(
            e,
            pc,
            e.stateNode
          );
        case 26:
        case 5:
          Pa(e, e.return), li(e);
          break;
        case 22:
          e.memoizedState === null && li(e);
          break;
        case 30:
          li(e);
          break;
        default:
          li(e);
      }
      It(t);
    }
    function li(e) {
      for (e = e.child; e !== null; )
        Kf(e), e = e.sibling;
    }
    function My(e, t, n, i) {
      var o = _l(), f = n.flags;
      switch (n.tag) {
        case 0:
        case 11:
        case 15:
          du(
            e,
            n,
            i
          ), Sy(n, Kl);
          break;
        case 1:
          if (du(
            e,
            n,
            i
          ), t = n.stateNode, typeof t.componentDidMount == "function" && ae(
            n,
            iv,
            n,
            t
          ), t = n.updateQueue, t !== null) {
            e = n.stateNode;
            try {
              ae(
                n,
                oo,
                t,
                e
              );
            } catch (d) {
              Fe(n, n.return, d);
            }
          }
          i && f & 64 && Ey(n), zo(n, n.return);
          break;
        case 27:
          Ir(n);
        case 26:
        case 5:
          du(
            e,
            n,
            i
          ), i && t === null && f & 4 && kr(n), zo(n, n.return);
          break;
        case 12:
          if (i && f & 4) {
            f = Za(), du(
              e,
              n,
              i
            ), i = n.stateNode, i.effectDuration += Gi(f);
            try {
              ae(
                n,
                Ry,
                n,
                t,
                Ng,
                i.effectDuration
              );
            } catch (d) {
              Fe(n, n.return, d);
            }
          } else
            du(
              e,
              n,
              i
            );
          break;
        case 13:
          du(
            e,
            n,
            i
          ), i && f & 4 && I0(e, n);
          break;
        case 22:
          n.memoizedState === null && du(
            e,
            n,
            i
          ), zo(n, n.return);
          break;
        case 30:
          break;
        default:
          du(
            e,
            n,
            i
          );
      }
      It(o);
    }
    function du(e, t, n) {
      for (n = n && (t.subtreeFlags & 8772) !== 0, t = t.child; t !== null; )
        My(
          e,
          t.alternate,
          t,
          n
        ), t = t.sibling;
    }
    function Wf(e, t) {
      var n = null;
      e !== null && e.memoizedState !== null && e.memoizedState.cachePool !== null && (n = e.memoizedState.cachePool.pool), e = null, t.memoizedState !== null && t.memoizedState.cachePool !== null && (e = t.memoizedState.cachePool.pool), e !== n && (e != null && Vi(e), n != null && pn(n));
    }
    function If(e, t) {
      e = null, t.alternate !== null && (e = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== e && (Vi(t), e != null && pn(e));
    }
    function $a(e, t, n, i) {
      if (t.subtreeFlags & 10256)
        for (t = t.child; t !== null; )
          By(
            e,
            t,
            n,
            i
          ), t = t.sibling;
    }
    function By(e, t, n, i) {
      var o = _l(), f = t.flags;
      switch (t.tag) {
        case 0:
        case 11:
        case 15:
          $a(
            e,
            t,
            n,
            i
          ), f & 2048 && by(t, Cl | Jn);
          break;
        case 1:
          $a(
            e,
            t,
            n,
            i
          );
          break;
        case 3:
          var d = Za();
          $a(
            e,
            t,
            n,
            i
          ), f & 2048 && (n = null, t.alternate !== null && (n = t.alternate.memoizedState.cache), t = t.memoizedState.cache, t !== n && (Vi(t), n != null && pn(n))), e.passiveEffectDuration += Ju(
            d
          );
          break;
        case 12:
          if (f & 2048) {
            f = Za(), $a(
              e,
              t,
              n,
              i
            ), e = t.stateNode, e.passiveEffectDuration += Gi(f);
            try {
              ae(
                t,
                K0,
                t,
                t.alternate,
                Ng,
                e.passiveEffectDuration
              );
            } catch (m) {
              Fe(t, t.return, m);
            }
          } else
            $a(
              e,
              t,
              n,
              i
            );
          break;
        case 13:
          $a(
            e,
            t,
            n,
            i
          );
          break;
        case 23:
          break;
        case 22:
          d = t.stateNode;
          var h = t.alternate;
          t.memoizedState !== null ? d._visibility & Uc ? $a(
            e,
            t,
            n,
            i
          ) : Uo(
            e,
            t
          ) : d._visibility & Uc ? $a(
            e,
            t,
            n,
            i
          ) : (d._visibility |= Uc, Da(
            e,
            t,
            n,
            i,
            (t.subtreeFlags & 10256) !== 0
          )), f & 2048 && Wf(h, t);
          break;
        case 24:
          $a(
            e,
            t,
            n,
            i
          ), f & 2048 && If(t.alternate, t);
          break;
        default:
          $a(
            e,
            t,
            n,
            i
          );
      }
      It(o);
    }
    function Da(e, t, n, i, o) {
      for (o = o && (t.subtreeFlags & 10256) !== 0, t = t.child; t !== null; )
        Ff(
          e,
          t,
          n,
          i,
          o
        ), t = t.sibling;
    }
    function Ff(e, t, n, i, o) {
      var f = _l(), d = t.flags;
      switch (t.tag) {
        case 0:
        case 11:
        case 15:
          Da(
            e,
            t,
            n,
            i,
            o
          ), by(t, Cl);
          break;
        case 23:
          break;
        case 22:
          var h = t.stateNode;
          t.memoizedState !== null ? h._visibility & Uc ? Da(
            e,
            t,
            n,
            i,
            o
          ) : Uo(
            e,
            t
          ) : (h._visibility |= Uc, Da(
            e,
            t,
            n,
            i,
            o
          )), o && d & 2048 && Wf(
            t.alternate,
            t
          );
          break;
        case 24:
          Da(
            e,
            t,
            n,
            i,
            o
          ), o && d & 2048 && If(t.alternate, t);
          break;
        default:
          Da(
            e,
            t,
            n,
            i,
            o
          );
      }
      It(f);
    }
    function Uo(e, t) {
      if (t.subtreeFlags & 10256)
        for (t = t.child; t !== null; ) {
          var n = e, i = t, o = i.flags;
          switch (i.tag) {
            case 22:
              Uo(
                n,
                i
              ), o & 2048 && Wf(
                i.alternate,
                i
              );
              break;
            case 24:
              Uo(
                n,
                i
              ), o & 2048 && If(
                i.alternate,
                i
              );
              break;
            default:
              Uo(
                n,
                i
              );
          }
          t = t.sibling;
        }
    }
    function sc(e) {
      if (e.subtreeFlags & Km)
        for (e = e.child; e !== null; )
          xy(e), e = e.sibling;
    }
    function xy(e) {
      switch (e.tag) {
        case 26:
          sc(e), e.flags & Km && e.memoizedState !== null && sg(
            Ou,
            e.memoizedState,
            e.memoizedProps
          );
          break;
        case 5:
          sc(e);
          break;
        case 3:
        case 4:
          var t = Ou;
          Ou = gu(
            e.stateNode.containerInfo
          ), sc(e), Ou = t;
          break;
        case 22:
          e.memoizedState === null && (t = e.alternate, t !== null && t.memoizedState !== null ? (t = Km, Km = 16777216, sc(e), Km = t) : sc(e));
          break;
        default:
          sc(e);
      }
    }
    function _f(e) {
      var t = e.alternate;
      if (t !== null && (e = t.child, e !== null)) {
        t.child = null;
        do
          t = e.sibling, e.sibling = null, e = t;
        while (e !== null);
      }
    }
    function Mo(e) {
      var t = e.deletions;
      if ((e.flags & 16) !== 0) {
        if (t !== null)
          for (var n = 0; n < t.length; n++) {
            var i = t[n], o = _l();
            ql = i, F0(
              i,
              e
            ), It(o);
          }
        _f(e);
      }
      if (e.subtreeFlags & 10256)
        for (e = e.child; e !== null; )
          $r(e), e = e.sibling;
    }
    function $r(e) {
      var t = _l();
      switch (e.tag) {
        case 0:
        case 11:
        case 15:
          Mo(e), e.flags & 2048 && ti(
            e,
            e.return,
            Cl | Jn
          );
          break;
        case 3:
          var n = Za();
          Mo(e), e.stateNode.passiveEffectDuration += Ju(n);
          break;
        case 12:
          n = Za(), Mo(e), e.stateNode.passiveEffectDuration += Gi(n);
          break;
        case 22:
          n = e.stateNode, e.memoizedState !== null && n._visibility & Uc && (e.return === null || e.return.tag !== 13) ? (n._visibility &= ~Uc, Pf(e)) : Mo(e);
          break;
        default:
          Mo(e);
      }
      It(t);
    }
    function Pf(e) {
      var t = e.deletions;
      if ((e.flags & 16) !== 0) {
        if (t !== null)
          for (var n = 0; n < t.length; n++) {
            var i = t[n], o = _l();
            ql = i, F0(
              i,
              e
            ), It(o);
          }
        _f(e);
      }
      for (e = e.child; e !== null; )
        Hy(e), e = e.sibling;
    }
    function Hy(e) {
      var t = _l();
      switch (e.tag) {
        case 0:
        case 11:
        case 15:
          ti(
            e,
            e.return,
            Cl
          ), Pf(e);
          break;
        case 22:
          var n = e.stateNode;
          n._visibility & Uc && (n._visibility &= ~Uc, Pf(e));
          break;
        default:
          Pf(e);
      }
      It(t);
    }
    function F0(e, t) {
      for (; ql !== null; ) {
        var n = ql, i = n, o = t, f = _l();
        switch (i.tag) {
          case 0:
          case 11:
          case 15:
            ti(
              i,
              o,
              Cl
            );
            break;
          case 23:
          case 22:
            i.memoizedState !== null && i.memoizedState.cachePool !== null && (i = i.memoizedState.cachePool.pool, i != null && Vi(i));
            break;
          case 24:
            pn(i.memoizedState.cache);
        }
        if (It(f), f = n.child, f !== null)
          f.return = n, ql = f;
        else
          e: for (n = e; ql !== null; ) {
            if (f = ql, i = f.sibling, o = f.return, Fr(f), f === n) {
              ql = null;
              break e;
            }
            if (i !== null) {
              i.return = o, ql = i;
              break e;
            }
            ql = o;
          }
      }
    }
    function _0() {
      lb.forEach(function(e) {
        return e();
      });
    }
    function Pt() {
      var e = typeof IS_REACT_ACT_ENVIRONMENT < "u" ? IS_REACT_ACT_ENVIRONMENT : void 0;
      return e || N.actQueue === null || console.error(
        "The current testing environment is not configured to support act(...)"
      ), e;
    }
    function at(e) {
      if ((ut & Ea) !== un && je !== 0)
        return je & -je;
      var t = N.T;
      return t !== null ? (t._updatedFibers || (t._updatedFibers = /* @__PURE__ */ new Set()), t._updatedFibers.add(e), e = ws, e !== 0 ? e : xl()) : _c();
    }
    function Qy() {
      on === 0 && (on = (je & 536870912) === 0 || _e ? Wc() : 536870912);
      var e = Zn.current;
      return e !== null && (e.flags |= 32), on;
    }
    function wt(e, t, n) {
      if (Sh && console.error("useInsertionEffect must not schedule updates."), Uv && (_g = !0), (e === Tt && (ot === Vs || ot === Gs) || e.cancelPendingCommit !== null) && (rc(e, 0), en(
        e,
        je,
        on,
        !1
      )), hl(e, n), (ut & Ea) !== 0 && e === Tt) {
        if (ia)
          switch (t.tag) {
            case 0:
            case 11:
            case 15:
              e = qe && te(qe) || "Unknown", S1.has(e) || (S1.add(e), t = te(t) || "Unknown", console.error(
                "Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://react.dev/link/setstate-in-render",
                t,
                e,
                e
              ));
              break;
            case 1:
              A1 || (console.error(
                "Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."
              ), A1 = !0);
          }
      } else
        xa && sf(e, t, n), lg(t), e === Tt && ((ut & Ea) === un && (Io |= n), Zt === js && en(
          e,
          je,
          on,
          !1
        )), ol(e);
    }
    function Ny(e, t, n) {
      if ((ut & (Ea | zu)) !== un)
        throw Error("Should not already be working.");
      var i = !n && (t & 124) === 0 && (t & e.expiredLanes) === 0 || ff(e, t), o = i ? Yy(e, t) : $f(e, t, !0), f = i;
      do {
        if (o === Yc) {
          vh && !i && en(e, t, 0, !1);
          break;
        } else {
          if (n = e.current.alternate, f && !P0(n)) {
            o = $f(e, t, !1), f = !1;
            continue;
          }
          if (o === gh) {
            if (f = t, e.errorRecoveryDisabledLanes & f)
              var d = 0;
            else
              d = e.pendingLanes & -536870913, d = d !== 0 ? d : d & 536870912 ? 536870912 : 0;
            if (d !== 0) {
              t = d;
              e: {
                o = e;
                var h = d;
                d = $m;
                var m = o.current.memoizedState.isDehydrated;
                if (m && (rc(
                  o,
                  h
                ).flags |= 256), h = $f(
                  o,
                  h,
                  !1
                ), h !== gh) {
                  if (Tv && !m) {
                    o.errorRecoveryDisabledLanes |= f, Io |= f, o = js;
                    break e;
                  }
                  o = Ta, Ta = d, o !== null && (Ta === null ? Ta = o : Ta.push.apply(
                    Ta,
                    o
                  ));
                }
                o = h;
              }
              if (f = !1, o !== gh) continue;
            }
          }
          if (o === Im) {
            rc(e, 0), en(e, t, 0, !0);
            break;
          }
          e: {
            switch (i = e, o) {
              case Yc:
              case Im:
                throw Error("Root did not complete. This is a bug in React.");
              case js:
                if ((t & 4194048) !== t) break;
              case Kg:
                en(
                  i,
                  t,
                  on,
                  !Ko
                );
                break e;
              case gh:
                Ta = null;
                break;
              case Sv:
              case r1:
                break;
              default:
                throw Error("Unknown root exit status.");
            }
            if (N.actQueue !== null)
              tn(
                i,
                n,
                t,
                Ta,
                e0,
                Wg,
                on,
                Io,
                Zs
              );
            else {
              if ((t & 62914560) === t && (f = Rv + h1 - wn(), 10 < f)) {
                if (en(
                  i,
                  t,
                  on,
                  !Ko
                ), of(i, 0, !0) !== 0) break e;
                i.timeoutHandle = z1(
                  wy.bind(
                    null,
                    i,
                    n,
                    Ta,
                    e0,
                    Wg,
                    t,
                    on,
                    Io,
                    Zs,
                    Ko,
                    o,
                    ib,
                    gA,
                    0
                  ),
                  f
                );
                break e;
              }
              wy(
                i,
                n,
                Ta,
                e0,
                Wg,
                t,
                on,
                Io,
                Zs,
                Ko,
                o,
                nb,
                gA,
                0
              );
            }
          }
        }
        break;
      } while (!0);
      ol(e);
    }
    function wy(e, t, n, i, o, f, d, h, m, p, Q, H, B, Y) {
      if (e.timeoutHandle = Ks, H = t.subtreeFlags, (H & 8192 || (H & 16785408) === 16785408) && (i0 = { stylesheets: null, count: 0, unsuspend: fg }, xy(t), H = Rd(), H !== null)) {
        e.cancelPendingCommit = H(
          tn.bind(
            null,
            e,
            t,
            f,
            n,
            i,
            o,
            d,
            h,
            m,
            Q,
            ub,
            B,
            Y
          )
        ), en(
          e,
          f,
          d,
          !p
        );
        return;
      }
      tn(
        e,
        t,
        f,
        n,
        i,
        o,
        d,
        h,
        m
      );
    }
    function P0(e) {
      for (var t = e; ; ) {
        var n = t.tag;
        if ((n === 0 || n === 11 || n === 15) && t.flags & 16384 && (n = t.updateQueue, n !== null && (n = n.stores, n !== null)))
          for (var i = 0; i < n.length; i++) {
            var o = n[i], f = o.getSnapshot;
            o = o.value;
            try {
              if (!va(f(), o)) return !1;
            } catch {
              return !1;
            }
          }
        if (n = t.child, t.subtreeFlags & 16384 && n !== null)
          n.return = t, t = n;
        else {
          if (t === e) break;
          for (; t.sibling === null; ) {
            if (t.return === null || t.return === e) return !0;
            t = t.return;
          }
          t.sibling.return = t.return, t = t.sibling;
        }
      }
      return !0;
    }
    function en(e, t, n, i) {
      t &= ~Cv, t &= ~Io, e.suspendedLanes |= t, e.pingedLanes &= ~t, i && (e.warmLanes |= t), i = e.expirationTimes;
      for (var o = t; 0 < o; ) {
        var f = 31 - Jl(o), d = 1 << f;
        i[f] = -1, o &= ~d;
      }
      n !== 0 && b0(e, n, t);
    }
    function ai() {
      return (ut & (Ea | zu)) === un ? (St(0), !1) : !0;
    }
    function ed() {
      if (qe !== null) {
        if (ot === qa)
          var e = qe.return;
        else
          e = qe, Ar(), $i(e), ih = null, Zm = 0, e = qe;
        for (; e !== null; )
          Ay(e.alternate, e), e = e.return;
        qe = null;
      }
    }
    function rc(e, t) {
      var n = e.timeoutHandle;
      n !== Ks && (e.timeoutHandle = Ks, Ab(n)), n = e.cancelPendingCommit, n !== null && (e.cancelPendingCommit = null, n()), ed(), Tt = e, qe = n = mn(e.current, null), je = t, ot = qa, cn = null, Ko = !1, vh = ff(e, t), Tv = !1, Zt = Yc, Zs = on = Cv = Io = Wo = 0, Ta = $m = null, Wg = !1, (t & 8) !== 0 && (t |= t & 32);
      var i = e.entangledLanes;
      if (i !== 0)
        for (e = e.entanglements, i &= t; 0 < i; ) {
          var o = 31 - Jl(i), f = 1 << o;
          t |= e[o], i &= ~f;
        }
      return Ti = t, vf(), t = yA(), 1e3 < t - hA && (N.recentlyCreatedOwnerStacks = 0, hA = t), Ru.discardPendingWarnings(), n;
    }
    function qy(e, t) {
      Re = null, N.H = Jg, N.getCurrentStack = null, ia = !1, ua = null, t === Gm || t === Lg ? (t = ma(), ot = _m) : t === nv ? (t = ma(), ot = d1) : ot = t === l1 ? Ev : t !== null && typeof t == "object" && typeof t.then == "function" ? ph : Fm, cn = t;
      var n = qe;
      if (n === null)
        Zt = Im, Bt(
          e,
          ha(t, e.current)
        );
      else
        switch (n.mode & kl && Cf(n), kc(), ot) {
          case Fm:
            P !== null && typeof P.markComponentErrored == "function" && P.markComponentErrored(
              n,
              t,
              je
            );
            break;
          case Vs:
          case Gs:
          case _m:
          case ph:
          case Pm:
            P !== null && typeof P.markComponentSuspended == "function" && P.markComponentSuspended(
              n,
              t,
              je
            );
        }
    }
    function td() {
      var e = Zn.current;
      return e === null ? !0 : (je & 4194048) === je ? bi === null : (je & 62914560) === je || (je & 536870912) !== 0 ? e === bi : !1;
    }
    function ld() {
      var e = N.H;
      return N.H = Jg, e === null ? Jg : e;
    }
    function ad() {
      var e = N.A;
      return N.A = tb, e;
    }
    function nd() {
      Zt = js, Ko || (je & 4194048) !== je && Zn.current !== null || (vh = !0), (Wo & 134217727) === 0 && (Io & 134217727) === 0 || Tt === null || en(
        Tt,
        je,
        on,
        !1
      );
    }
    function $f(e, t, n) {
      var i = ut;
      ut |= Ea;
      var o = ld(), f = ad();
      if (Tt !== e || je !== t) {
        if (xa) {
          var d = e.memoizedUpdaters;
          0 < d.size && (dc(e, je), d.clear()), Mu(e, t);
        }
        e0 = null, rc(e, t);
      }
      Ya(t), t = !1, d = Zt;
      e: do
        try {
          if (ot !== qa && qe !== null) {
            var h = qe, m = cn;
            switch (ot) {
              case Ev:
                ed(), d = Kg;
                break e;
              case _m:
              case Vs:
              case Gs:
              case ph:
                Zn.current === null && (t = !0);
                var p = ot;
                if (ot = qa, cn = null, ni(e, h, m, p), n && vh) {
                  d = Yc;
                  break e;
                }
                break;
              default:
                p = ot, ot = qa, cn = null, ni(e, h, m, p);
            }
          }
          es(), d = Zt;
          break;
        } catch (Q) {
          qy(e, Q);
        }
      while (!0);
      return t && e.shellSuspendCounter++, Ar(), ut = i, N.H = o, N.A = f, A0(), qe === null && (Tt = null, je = 0, vf()), d;
    }
    function es() {
      for (; qe !== null; ) ud(qe);
    }
    function Yy(e, t) {
      var n = ut;
      ut |= Ea;
      var i = ld(), o = ad();
      if (Tt !== e || je !== t) {
        if (xa) {
          var f = e.memoizedUpdaters;
          0 < f.size && (dc(e, je), f.clear()), Mu(e, t);
        }
        e0 = null, Ig = wn() + y1, rc(e, t);
      } else
        vh = ff(
          e,
          t
        );
      Ya(t);
      e: do
        try {
          if (ot !== qa && qe !== null)
            t: switch (t = qe, f = cn, ot) {
              case Fm:
                ot = qa, cn = null, ni(
                  e,
                  t,
                  f,
                  Fm
                );
                break;
              case Vs:
              case Gs:
                if (Ra(f)) {
                  ot = qa, cn = null, Ly(t);
                  break;
                }
                t = function() {
                  ot !== Vs && ot !== Gs || Tt !== e || (ot = Pm), ol(e);
                }, f.then(t, t);
                break e;
              case _m:
                ot = Pm;
                break e;
              case d1:
                ot = bv;
                break e;
              case Pm:
                Ra(f) ? (ot = qa, cn = null, Ly(t)) : (ot = qa, cn = null, ni(
                  e,
                  t,
                  f,
                  Pm
                ));
                break;
              case bv:
                var d = null;
                switch (qe.tag) {
                  case 26:
                    d = qe.memoizedState;
                  case 5:
                  case 27:
                    var h = qe;
                    if (d ? cm(d) : h.stateNode.complete) {
                      ot = qa, cn = null;
                      var m = h.sibling;
                      if (m !== null) qe = m;
                      else {
                        var p = h.return;
                        p !== null ? (qe = p, id(p)) : qe = null;
                      }
                      break t;
                    }
                    break;
                  default:
                    console.error(
                      "Unexpected type of fiber triggered a suspensey commit. This is a bug in React."
                    );
                }
                ot = qa, cn = null, ni(
                  e,
                  t,
                  f,
                  bv
                );
                break;
              case ph:
                ot = qa, cn = null, ni(
                  e,
                  t,
                  f,
                  ph
                );
                break;
              case Ev:
                ed(), Zt = Kg;
                break e;
              default:
                throw Error(
                  "Unexpected SuspendedReason. This is a bug in React."
                );
            }
          N.actQueue !== null ? es() : $0();
          break;
        } catch (Q) {
          qy(e, Q);
        }
      while (!0);
      return Ar(), N.H = i, N.A = o, ut = n, qe !== null ? (P !== null && typeof P.markRenderYielded == "function" && P.markRenderYielded(), Yc) : (A0(), Tt = null, je = 0, vf(), Zt);
    }
    function $0() {
      for (; qe !== null && !Au(); )
        ud(qe);
    }
    function ud(e) {
      var t = e.alternate;
      (e.mode & kl) !== Et ? (ku(e), t = ae(
        e,
        Vr,
        t,
        e,
        Ti
      ), Cf(e)) : t = ae(
        e,
        Vr,
        t,
        e,
        Ti
      ), e.memoizedProps = e.pendingProps, t === null ? id(e) : qe = t;
    }
    function Ly(e) {
      var t = ae(e, hu, e);
      e.memoizedProps = e.pendingProps, t === null ? id(e) : qe = t;
    }
    function hu(e) {
      var t = e.alternate, n = (e.mode & kl) !== Et;
      switch (n && ku(e), e.tag) {
        case 15:
        case 0:
          t = wr(
            t,
            e,
            e.pendingProps,
            e.type,
            void 0,
            je
          );
          break;
        case 11:
          t = wr(
            t,
            e,
            e.pendingProps,
            e.type.render,
            e.ref,
            je
          );
          break;
        case 5:
          $i(e);
        default:
          Ay(t, e), e = qe = Jh(e, Ti), t = Vr(t, e, Ti);
      }
      return n && Cf(e), t;
    }
    function ni(e, t, n, i) {
      Ar(), $i(t), ih = null, Zm = 0;
      var o = t.return;
      try {
        if (Lf(
          e,
          o,
          t,
          n,
          je
        )) {
          Zt = Im, Bt(
            e,
            ha(n, e.current)
          ), qe = null;
          return;
        }
      } catch (f) {
        if (o !== null) throw qe = o, f;
        Zt = Im, Bt(
          e,
          ha(n, e.current)
        ), qe = null;
        return;
      }
      t.flags & 32768 ? (_e || i === Fm ? e = !0 : vh || (je & 536870912) !== 0 ? e = !1 : (Ko = e = !0, (i === Vs || i === Gs || i === _m || i === ph) && (i = Zn.current, i !== null && i.tag === 13 && (i.flags |= 16384))), jy(t, e)) : id(t);
    }
    function id(e) {
      var t = e;
      do {
        if ((t.flags & 32768) !== 0) {
          jy(
            t,
            Ko
          );
          return;
        }
        var n = t.alternate;
        if (e = t.return, ku(t), n = ae(
          t,
          k0,
          n,
          t,
          Ti
        ), (t.mode & kl) !== Et && ty(t), n !== null) {
          qe = n;
          return;
        }
        if (t = t.sibling, t !== null) {
          qe = t;
          return;
        }
        qe = t = e;
      } while (t !== null);
      Zt === Yc && (Zt = r1);
    }
    function jy(e, t) {
      do {
        var n = vy(e.alternate, e);
        if (n !== null) {
          n.flags &= 32767, qe = n;
          return;
        }
        if ((e.mode & kl) !== Et) {
          ty(e), n = e.actualDuration;
          for (var i = e.child; i !== null; )
            n += i.actualDuration, i = i.sibling;
          e.actualDuration = n;
        }
        if (n = e.return, n !== null && (n.flags |= 32768, n.subtreeFlags = 0, n.deletions = null), !t && (e = e.sibling, e !== null)) {
          qe = e;
          return;
        }
        qe = e = n;
      } while (e !== null);
      Zt = Kg, qe = null;
    }
    function tn(e, t, n, i, o, f, d, h, m) {
      e.cancelPendingCommit = null;
      do
        as();
      while (Rl !== _o);
      if (Ru.flushLegacyContextWarning(), Ru.flushPendingUnsafeLifecycleWarnings(), (ut & (Ea | zu)) !== un)
        throw Error("Should not already be working.");
      if (P !== null && typeof P.markCommitStarted == "function" && P.markCommitStarted(n), t === null) $s();
      else {
        if (n === 0 && console.error(
          "finishedLanes should not be empty during a commit. This is a bug in React."
        ), t === e.current)
          throw Error(
            "Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue."
          );
        if (f = t.lanes | t.childLanes, f |= $p, Ep(
          e,
          n,
          f,
          d,
          h,
          m
        ), e === Tt && (qe = Tt = null, je = 0), Ah = t, Po = e, $o = n, Dv = f, Ov = o, v1 = i, (t.subtreeFlags & 10256) !== 0 || (t.flags & 10256) !== 0 ? (e.callbackNode = null, e.callbackPriority = 0, rd(jo, function() {
          return eg(), null;
        })) : (e.callbackNode = null, e.callbackPriority = 0), Ng = ah(), i = (t.flags & 13878) !== 0, (t.subtreeFlags & 13878) !== 0 || i) {
          i = N.T, N.T = null, o = Xe.p, Xe.p = oa, d = ut, ut |= zu;
          try {
            W0(e, t, n);
          } finally {
            ut = d, Xe.p = o, N.T = i;
          }
        }
        Rl = m1, cd(), Vy(), ts();
      }
    }
    function cd() {
      if (Rl === m1) {
        Rl = _o;
        var e = Po, t = Ah, n = $o, i = (t.flags & 13878) !== 0;
        if ((t.subtreeFlags & 13878) !== 0 || i) {
          i = N.T, N.T = null;
          var o = Xe.p;
          Xe.p = oa;
          var f = ut;
          ut |= zu;
          try {
            yh = n, mh = e, Hc = -1.1, Pr(t, e), mh = yh = null, n = Yv;
            var d = H0(e.containerInfo), h = n.focusedElem, m = n.selectionRange;
            if (d !== h && h && h.ownerDocument && x0(
              h.ownerDocument.documentElement,
              h
            )) {
              if (m !== null && Vh(h)) {
                var p = m.start, Q = m.end;
                if (Q === void 0 && (Q = p), "selectionStart" in h)
                  h.selectionStart = p, h.selectionEnd = Math.min(
                    Q,
                    h.value.length
                  );
                else {
                  var H = h.ownerDocument || document, B = H && H.defaultView || window;
                  if (B.getSelection) {
                    var Y = B.getSelection(), ue = h.textContent.length, Te = Math.min(
                      m.start,
                      ue
                    ), Ct = m.end === void 0 ? Te : Math.min(m.end, ue);
                    !Y.extend && Te > Ct && (d = Ct, Ct = Te, Te = d);
                    var Ge = jh(
                      h,
                      Te
                    ), S = jh(
                      h,
                      Ct
                    );
                    if (Ge && S && (Y.rangeCount !== 1 || Y.anchorNode !== Ge.node || Y.anchorOffset !== Ge.offset || Y.focusNode !== S.node || Y.focusOffset !== S.offset)) {
                      var b = H.createRange();
                      b.setStart(Ge.node, Ge.offset), Y.removeAllRanges(), Te > Ct ? (Y.addRange(b), Y.extend(S.node, S.offset)) : (b.setEnd(S.node, S.offset), Y.addRange(b));
                    }
                  }
                }
              }
              for (H = [], Y = h; Y = Y.parentNode; )
                Y.nodeType === 1 && H.push({
                  element: Y,
                  left: Y.scrollLeft,
                  top: Y.scrollTop
                });
              for (typeof h.focus == "function" && h.focus(), h = 0; h < H.length; h++) {
                var T = H[h];
                T.element.scrollLeft = T.left, T.element.scrollTop = T.top;
              }
            }
            dp = !!qv, Yv = qv = null;
          } finally {
            ut = f, Xe.p = o, N.T = i;
          }
        }
        e.current = t, Rl = g1;
      }
    }
    function Vy() {
      if (Rl === g1) {
        Rl = _o;
        var e = Po, t = Ah, n = $o, i = (t.flags & 8772) !== 0;
        if ((t.subtreeFlags & 8772) !== 0 || i) {
          i = N.T, N.T = null;
          var o = Xe.p;
          Xe.p = oa;
          var f = ut;
          ut |= zu;
          try {
            P !== null && typeof P.markLayoutEffectsStarted == "function" && P.markLayoutEffectsStarted(n), yh = n, mh = e, Hc = -1.1, Oy(
              e,
              t.alternate,
              t
            ), mh = yh = null, P !== null && typeof P.markLayoutEffectsStopped == "function" && P.markLayoutEffectsStopped();
          } finally {
            ut = f, Xe.p = o, N.T = i;
          }
        }
        Rl = p1;
      }
    }
    function ts() {
      if (Rl === cb || Rl === p1) {
        Rl = _o, qp();
        var e = Po, t = Ah, n = $o, i = v1, o = (t.subtreeFlags & 10256) !== 0 || (t.flags & 10256) !== 0;
        o ? Rl = Fg : (Rl = _o, Ah = Po = null, Ot(e, e.pendingLanes), Xs = 0, l0 = null);
        var f = e.pendingLanes;
        if (f === 0 && (Fo = null), o || Xy(e), o = Fc(n), t = t.stateNode, bl && typeof bl.onCommitFiberRoot == "function")
          try {
            var d = (t.current.flags & 128) === 128;
            switch (o) {
              case oa:
                var h = Ld;
                break;
              case Ha:
                h = Em;
                break;
              case Qa:
                h = jo;
                break;
              case Rs:
                h = Tm;
                break;
              default:
                h = jo;
            }
            bl.onCommitFiberRoot(
              Vo,
              t,
              h,
              d
            );
          } catch (H) {
            ca || (ca = !0, console.error(
              "React instrumentation encountered an error: %s",
              H
            ));
          }
        if (xa && e.memoizedUpdaters.clear(), _0(), i !== null) {
          d = N.T, h = Xe.p, Xe.p = oa, N.T = null;
          try {
            var m = e.onRecoverableError;
            for (t = 0; t < i.length; t++) {
              var p = i[t], Q = ls(p.stack);
              ae(
                p.source,
                m,
                p.value,
                Q
              );
            }
          } finally {
            N.T = d, Xe.p = h;
          }
        }
        ($o & 3) !== 0 && as(), ol(e), f = e.pendingLanes, (n & 4194090) !== 0 && (f & 42) !== 0 ? (qg = !0, e === zv ? t0++ : (t0 = 0, zv = e)) : t0 = 0, St(0), $s();
      }
    }
    function ls(e) {
      return e = { componentStack: e }, Object.defineProperty(e, "digest", {
        get: function() {
          console.error(
            'You are accessing "digest" from the errorInfo object passed to onRecoverableError. This property is no longer provided as part of errorInfo but can be accessed as a property of the Error instance itself.'
          );
        }
      }), e;
    }
    function Ot(e, t) {
      (e.pooledCacheLanes &= t) === 0 && (t = e.pooledCache, t != null && (e.pooledCache = null, pn(t)));
    }
    function as(e) {
      return cd(), Vy(), ts(), eg();
    }
    function eg() {
      if (Rl !== Fg) return !1;
      var e = Po, t = Dv;
      Dv = 0;
      var n = Fc($o), i = Qa > n ? Qa : n;
      n = N.T;
      var o = Xe.p;
      try {
        Xe.p = i, N.T = null, i = Ov, Ov = null;
        var f = Po, d = $o;
        if (Rl = _o, Ah = Po = null, $o = 0, (ut & (Ea | zu)) !== un)
          throw Error("Cannot flush passive effects while already rendering.");
        Uv = !0, _g = !1, P !== null && typeof P.markPassiveEffectsStarted == "function" && P.markPassiveEffectsStarted(d);
        var h = ut;
        ut |= zu;
        var m = f.current;
        Hc = -1.1, $r(m);
        var p = f.current;
        if (Hc = -1.1, By(
          f,
          p,
          d,
          i
        ), P !== null && typeof P.markPassiveEffectsStopped == "function" && P.markPassiveEffectsStopped(), Xy(f), ut = h, St(0, !1), _g ? f === l0 ? Xs++ : (Xs = 0, l0 = f) : Xs = 0, _g = Uv = !1, bl && typeof bl.onPostCommitFiberRoot == "function")
          try {
            bl.onPostCommitFiberRoot(Vo, f);
          } catch (H) {
            ca || (ca = !0, console.error(
              "React instrumentation encountered an error: %s",
              H
            ));
          }
        var Q = f.current.stateNode;
        return Q.effectDuration = 0, Q.passiveEffectDuration = 0, !0;
      } finally {
        Xe.p = o, N.T = n, Ot(e, t);
      }
    }
    function Gy(e, t, n) {
      t = ha(n, t), t = ei(e.stateNode, t, 2), e = zl(e, t, 2), e !== null && (hl(e, 2), ol(e));
    }
    function Fe(e, t, n) {
      if (Sh = !1, e.tag === 3)
        Gy(e, e, n);
      else {
        for (; t !== null; ) {
          if (t.tag === 3) {
            Gy(
              t,
              e,
              n
            );
            return;
          }
          if (t.tag === 1) {
            var i = t.stateNode;
            if (typeof t.type.getDerivedStateFromError == "function" || typeof i.componentDidCatch == "function" && (Fo === null || !Fo.has(i))) {
              e = ha(n, e), n = ru(2), i = zl(t, n, 2), i !== null && (bo(
                n,
                i,
                t,
                e
              ), hl(i, 2), ol(i));
              return;
            }
          }
          t = t.return;
        }
        console.error(
          `Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Potential causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.

Error message:

%s`,
          n
        );
      }
    }
    function Mn(e, t, n) {
      var i = e.pingCache;
      if (i === null) {
        i = e.pingCache = new ab();
        var o = /* @__PURE__ */ new Set();
        i.set(t, o);
      } else
        o = i.get(t), o === void 0 && (o = /* @__PURE__ */ new Set(), i.set(t, o));
      o.has(n) || (Tv = !0, o.add(n), i = tg.bind(null, e, t, n), xa && dc(e, n), t.then(i, i));
    }
    function tg(e, t, n) {
      var i = e.pingCache;
      i !== null && i.delete(t), e.pingedLanes |= e.suspendedLanes & n, e.warmLanes &= ~n, Pt() && N.actQueue === null && console.error(
        `A suspended resource finished loading inside a test, but the event was not wrapped in act(...).

When testing, code that resolves suspended data should be wrapped into act(...):

act(() => {
  /* finish loading suspended data */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`
      ), Tt === e && (je & n) === n && (Zt === js || Zt === Sv && (je & 62914560) === je && wn() - Rv < h1 ? (ut & Ea) === un && rc(e, 0) : Cv |= n, Zs === je && (Zs = 0)), ol(e);
    }
    function Zy(e, t) {
      t === 0 && (t = Wl()), e = Fl(e, t), e !== null && (hl(e, t), ol(e));
    }
    function ns(e) {
      var t = e.memoizedState, n = 0;
      t !== null && (n = t.retryLane), Zy(e, n);
    }
    function Bn(e, t) {
      var n = 0;
      switch (e.tag) {
        case 13:
          var i = e.stateNode, o = e.memoizedState;
          o !== null && (n = o.retryLane);
          break;
        case 19:
          i = e.stateNode;
          break;
        case 22:
          i = e.stateNode._retryCache;
          break;
        default:
          throw Error(
            "Pinged unknown suspense boundary type. This is probably a bug in React."
          );
      }
      i !== null && i.delete(t), Zy(e, n);
    }
    function od(e, t, n) {
      if ((t.subtreeFlags & 67117056) !== 0)
        for (t = t.child; t !== null; ) {
          var i = e, o = t, f = o.type === qo;
          f = n || f, o.tag !== 22 ? o.flags & 67108864 ? f && ae(
            o,
            fd,
            i,
            o,
            (o.mode & sA) === Et
          ) : od(
            i,
            o,
            f
          ) : o.memoizedState === null && (f && o.flags & 8192 ? ae(
            o,
            fd,
            i,
            o
          ) : o.subtreeFlags & 67108864 && ae(
            o,
            od,
            i,
            o,
            f
          )), t = t.sibling;
        }
    }
    function fd(e, t) {
      var n = 2 < arguments.length && arguments[2] !== void 0 ? arguments[2] : !0;
      mt(!0);
      try {
        Kf(t), n && Hy(t), My(e, t.alternate, t, !1), n && Ff(e, t, 0, null, !1, 0);
      } finally {
        mt(!1);
      }
    }
    function Xy(e) {
      var t = !0;
      e.current.mode & (fa | Cu) || (t = !1), od(
        e,
        e.current,
        t
      );
    }
    function sd(e) {
      if ((ut & Ea) === un) {
        var t = e.tag;
        if (t === 3 || t === 1 || t === 0 || t === 11 || t === 14 || t === 15) {
          if (t = te(e) || "ReactComponent", Pg !== null) {
            if (Pg.has(t)) return;
            Pg.add(t);
          } else Pg = /* @__PURE__ */ new Set([t]);
          ae(e, function() {
            console.error(
              "Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead."
            );
          });
        }
      }
    }
    function dc(e, t) {
      xa && e.memoizedUpdaters.forEach(function(n) {
        sf(e, n, t);
      });
    }
    function rd(e, t) {
      var n = N.actQueue;
      return n !== null ? (n.push(t), sb) : qd(e, t);
    }
    function lg(e) {
      Pt() && N.actQueue === null && ae(e, function() {
        console.error(
          `An update to %s inside a test was not wrapped in act(...).

When testing, code that causes React state updates should be wrapped into act(...):

act(() => {
  /* fire events that update state */
});
/* assert on the output */

This ensures that you're testing the behavior the user would see in the browser. Learn more at https://react.dev/link/wrap-tests-with-act`,
          te(e)
        );
      });
    }
    function ol(e) {
      e !== bh && e.next === null && (bh === null ? $g = bh = e : bh = bh.next = e), ep = !0, N.actQueue !== null ? Bv || (Bv = !0, bt()) : Mv || (Mv = !0, bt());
    }
    function St(e, t) {
      if (!xv && ep) {
        xv = !0;
        do
          for (var n = !1, i = $g; i !== null; ) {
            if (e !== 0) {
              var o = i.pendingLanes;
              if (o === 0) var f = 0;
              else {
                var d = i.suspendedLanes, h = i.pingedLanes;
                f = (1 << 31 - Jl(42 | e) + 1) - 1, f &= o & ~(d & ~h), f = f & 201326741 ? f & 201326741 | 1 : f ? f | 2 : 0;
              }
              f !== 0 && (n = !0, ky(i, f));
            } else
              f = je, f = of(
                i,
                i === Tt ? f : 0,
                i.cancelPendingCommit !== null || i.timeoutHandle !== Ks
              ), (f & 3) === 0 || ff(i, f) || (n = !0, ky(i, f));
            i = i.next;
          }
        while (n);
        xv = !1;
      }
    }
    function Jy() {
      dd();
    }
    function dd() {
      ep = Bv = Mv = !1;
      var e = 0;
      Js !== 0 && (ii() && (e = Js), Js = 0);
      for (var t = wn(), n = null, i = $g; i !== null; ) {
        var o = i.next, f = $t(i, t);
        f === 0 ? (i.next = null, n === null ? $g = o : n.next = o, o === null && (bh = n)) : (n = i, (e !== 0 || (f & 3) !== 0) && (ep = !0)), i = o;
      }
      Rl !== _o && Rl !== Fg || St(e);
    }
    function $t(e, t) {
      for (var n = e.suspendedLanes, i = e.pingedLanes, o = e.expirationTimes, f = e.pendingLanes & -62914561; 0 < f; ) {
        var d = 31 - Jl(f), h = 1 << d, m = o[d];
        m === -1 ? ((h & n) === 0 || (h & i) !== 0) && (o[d] = bp(h, t)) : m <= t && (e.expiredLanes |= h), f &= ~h;
      }
      if (t = Tt, n = je, n = of(
        e,
        e === t ? n : 0,
        e.cancelPendingCommit !== null || e.timeoutHandle !== Ks
      ), i = e.callbackNode, n === 0 || e === t && (ot === Vs || ot === Gs) || e.cancelPendingCommit !== null)
        return i !== null && hd(i), e.callbackNode = null, e.callbackPriority = 0;
      if ((n & 3) === 0 || ff(e, n)) {
        if (t = n & -n, t !== e.callbackPriority || N.actQueue !== null && i !== Hv)
          hd(i);
        else return t;
        switch (Fc(n)) {
          case oa:
          case Ha:
            n = Em;
            break;
          case Qa:
            n = jo;
            break;
          case Rs:
            n = Tm;
            break;
          default:
            n = jo;
        }
        return i = ag.bind(null, e), N.actQueue !== null ? (N.actQueue.push(i), n = Hv) : n = qd(n, i), e.callbackPriority = t, e.callbackNode = n, t;
      }
      return i !== null && hd(i), e.callbackPriority = 2, e.callbackNode = null, 2;
    }
    function ag(e, t) {
      if (qg = wg = !1, Rl !== _o && Rl !== Fg)
        return e.callbackNode = null, e.callbackPriority = 0, null;
      var n = e.callbackNode;
      if (as() && e.callbackNode !== n)
        return null;
      var i = je;
      return i = of(
        e,
        e === Tt ? i : 0,
        e.cancelPendingCommit !== null || e.timeoutHandle !== Ks
      ), i === 0 ? null : (Ny(
        e,
        i,
        t
      ), $t(e, wn()), e.callbackNode != null && e.callbackNode === n ? ag.bind(null, e) : null);
    }
    function ky(e, t) {
      if (as()) return null;
      wg = qg, qg = !1, Ny(e, t, !0);
    }
    function hd(e) {
      e !== Hv && e !== null && Yd(e);
    }
    function bt() {
      N.actQueue !== null && N.actQueue.push(function() {
        return dd(), null;
      }), Sb(function() {
        (ut & (Ea | zu)) !== un ? qd(
          Ld,
          Jy
        ) : dd();
      });
    }
    function xl() {
      return Js === 0 && (Js = Wc()), Js;
    }
    function xn(e) {
      return e == null || typeof e == "symbol" || typeof e == "boolean" ? null : typeof e == "function" ? e : (ct(e, "action"), no("" + e));
    }
    function Ky(e, t) {
      var n = t.ownerDocument.createElement("input");
      return n.name = t.name, n.value = t.value, e.id && n.setAttribute("form", e.id), t.parentNode.insertBefore(n, t), e = new FormData(e), n.parentNode.removeChild(n), e;
    }
    function ng(e, t, n, i, o) {
      if (t === "submit" && n && n.stateNode === o) {
        var f = xn(
          (o[Nl] || null).action
        ), d = i.submitter;
        d && (t = (t = d[Nl] || null) ? xn(t.formAction) : d.getAttribute("formAction"), t !== null && (f = t, d = null));
        var h = new O(
          "action",
          "action",
          null,
          i,
          o
        );
        e.push({
          event: h,
          listeners: [
            {
              instance: null,
              listener: function() {
                if (i.defaultPrevented) {
                  if (Js !== 0) {
                    var m = d ? Ky(
                      o,
                      d
                    ) : new FormData(o), p = {
                      pending: !0,
                      data: m,
                      method: o.method,
                      action: f
                    };
                    Object.freeze(p), bn(
                      n,
                      p,
                      null,
                      m
                    );
                  }
                } else
                  typeof f == "function" && (h.preventDefault(), m = d ? Ky(
                    o,
                    d
                  ) : new FormData(o), p = {
                    pending: !0,
                    data: m,
                    method: o.method,
                    action: f
                  }, Object.freeze(p), bn(
                    n,
                    p,
                    f,
                    m
                  ));
              },
              currentTarget: o
            }
          ]
        });
      }
    }
    function yd(e, t, n) {
      e.currentTarget = n;
      try {
        t(e);
      } catch (i) {
        mv(i);
      }
      e.currentTarget = null;
    }
    function md(e, t) {
      t = (t & 4) !== 0;
      for (var n = 0; n < e.length; n++) {
        var i = e[n];
        e: {
          var o = void 0, f = i.event;
          if (i = i.listeners, t)
            for (var d = i.length - 1; 0 <= d; d--) {
              var h = i[d], m = h.instance, p = h.currentTarget;
              if (h = h.listener, m !== o && f.isPropagationStopped())
                break e;
              m !== null ? ae(
                m,
                yd,
                f,
                h,
                p
              ) : yd(f, h, p), o = m;
            }
          else
            for (d = 0; d < i.length; d++) {
              if (h = i[d], m = h.instance, p = h.currentTarget, h = h.listener, m !== o && f.isPropagationStopped())
                break e;
              m !== null ? ae(
                m,
                yd,
                f,
                h,
                p
              ) : yd(f, h, p), o = m;
            }
        }
      }
    }
    function Se(e, t) {
      Qv.has(e) || console.error(
        'Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',
        e
      );
      var n = t[Cm];
      n === void 0 && (n = t[Cm] = /* @__PURE__ */ new Set());
      var i = e + "__bubble";
      n.has(i) || (ea(t, e, 2, !1), n.add(i));
    }
    function ga(e, t, n) {
      Qv.has(e) && !t && console.error(
        'Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',
        e
      );
      var i = 0;
      t && (i |= 4), ea(
        n,
        e,
        i,
        t
      );
    }
    function gd(e) {
      if (!e[tp]) {
        e[tp] = !0, jd.forEach(function(n) {
          n !== "selectionchange" && (Qv.has(n) || ga(n, !1, e), ga(n, !0, e));
        });
        var t = e.nodeType === 9 ? e : e.ownerDocument;
        t === null || t[tp] || (t[tp] = !0, ga("selectionchange", !1, t));
      }
    }
    function ea(e, t, n, i) {
      switch (hg(t)) {
        case oa:
          var o = Od;
          break;
        case Ha:
          o = hm;
          break;
        default:
          o = pu;
      }
      n = o.bind(
        null,
        t,
        n,
        e
      ), o = void 0, !x || t !== "touchstart" && t !== "touchmove" && t !== "wheel" || (o = !0), i ? o !== void 0 ? e.addEventListener(t, n, {
        capture: !0,
        passive: o
      }) : e.addEventListener(t, n, !0) : o !== void 0 ? e.addEventListener(t, n, {
        passive: o
      }) : e.addEventListener(
        t,
        n,
        !1
      );
    }
    function pd(e, t, n, i, o) {
      var f = i;
      if ((t & 1) === 0 && (t & 2) === 0 && i !== null)
        e: for (; ; ) {
          if (i === null) return;
          var d = i.tag;
          if (d === 3 || d === 4) {
            var h = i.stateNode.containerInfo;
            if (h === o) break;
            if (d === 4)
              for (d = i.return; d !== null; ) {
                var m = d.tag;
                if ((m === 3 || m === 4) && d.stateNode.containerInfo === o)
                  return;
                d = d.return;
              }
            for (; h !== null; ) {
              if (d = Ri(h), d === null) return;
              if (m = d.tag, m === 5 || m === 6 || m === 26 || m === 27) {
                i = f = d;
                continue e;
              }
              h = h.parentNode;
            }
          }
          i = i.return;
        }
      fr(function() {
        var p = f, Q = Hi(n), H = [];
        e: {
          var B = fA.get(e);
          if (B !== void 0) {
            var Y = O, ue = e;
            switch (e) {
              case "keypress":
                if (uo(n) === 0) break e;
              case "keydown":
              case "keyup":
                Y = DS;
                break;
              case "focusin":
                ue = "focus", Y = kp;
                break;
              case "focusout":
                ue = "blur", Y = kp;
                break;
              case "beforeblur":
              case "afterblur":
                Y = kp;
                break;
              case "click":
                if (n.button === 2) break e;
              case "auxclick":
              case "dblclick":
              case "mousedown":
              case "mousemove":
              case "mouseup":
              case "mouseout":
              case "mouseover":
              case "contextmenu":
                Y = Ke;
                break;
              case "drag":
              case "dragend":
              case "dragenter":
              case "dragexit":
              case "dragleave":
              case "dragover":
              case "dragstart":
              case "drop":
                Y = Jp;
                break;
              case "touchcancel":
              case "touchend":
              case "touchmove":
              case "touchstart":
                Y = US;
                break;
              case uA:
              case iA:
              case cA:
                Y = pS;
                break;
              case oA:
                Y = BS;
                break;
              case "scroll":
              case "scrollend":
                Y = ne;
                break;
              case "wheel":
                Y = HS;
                break;
              case "copy":
              case "cut":
              case "paste":
                Y = AS;
                break;
              case "gotpointercapture":
              case "lostpointercapture":
              case "pointercancel":
              case "pointerdown":
              case "pointermove":
              case "pointerout":
              case "pointerover":
              case "pointerup":
                Y = _v;
                break;
              case "toggle":
              case "beforetoggle":
                Y = NS;
            }
            var Te = (t & 4) !== 0, Ct = !Te && (e === "scroll" || e === "scrollend"), Ge = Te ? B !== null ? B + "Capture" : null : B;
            Te = [];
            for (var S = p, b; S !== null; ) {
              var T = S;
              if (b = T.stateNode, T = T.tag, T !== 5 && T !== 26 && T !== 27 || b === null || Ge === null || (T = $n(S, Ge), T != null && Te.push(
                Oa(
                  S,
                  T,
                  b
                )
              )), Ct) break;
              S = S.return;
            }
            0 < Te.length && (B = new Y(
              B,
              ue,
              null,
              n,
              Q
            ), H.push({
              event: B,
              listeners: Te
            }));
          }
        }
        if ((t & 7) === 0) {
          e: {
            if (B = e === "mouseover" || e === "pointerover", Y = e === "mouseout" || e === "pointerout", B && n !== A && (ue = n.relatedTarget || n.fromElement) && (Ri(ue) || ue[Na]))
              break e;
            if ((Y || B) && (B = Q.window === Q ? Q : (B = Q.ownerDocument) ? B.defaultView || B.parentWindow : window, Y ? (ue = n.relatedTarget || n.toElement, Y = p, ue = ue ? Ri(ue) : null, ue !== null && (Ct = be(ue), Te = ue.tag, ue !== Ct || Te !== 5 && Te !== 27 && Te !== 6) && (ue = null)) : (Y = null, ue = p), Y !== ue)) {
              if (Te = Ke, T = "onMouseLeave", Ge = "onMouseEnter", S = "mouse", (e === "pointerout" || e === "pointerover") && (Te = _v, T = "onPointerLeave", Ge = "onPointerEnter", S = "pointer"), Ct = Y == null ? B : _n(Y), b = ue == null ? B : _n(ue), B = new Te(
                T,
                S + "leave",
                Y,
                n,
                Q
              ), B.target = Ct, B.relatedTarget = b, T = null, Ri(Q) === p && (Te = new Te(
                Ge,
                S + "enter",
                ue,
                n,
                Q
              ), Te.target = b, Te.relatedTarget = Ct, T = Te), Ct = T, Y && ue)
                t: {
                  for (Te = Y, Ge = ue, S = 0, b = Te; b; b = pa(b))
                    S++;
                  for (b = 0, T = Ge; T; T = pa(T))
                    b++;
                  for (; 0 < S - b; )
                    Te = pa(Te), S--;
                  for (; 0 < b - S; )
                    Ge = pa(Ge), b--;
                  for (; S--; ) {
                    if (Te === Ge || Ge !== null && Te === Ge.alternate)
                      break t;
                    Te = pa(Te), Ge = pa(Ge);
                  }
                  Te = null;
                }
              else Te = null;
              Y !== null && vd(
                H,
                B,
                Y,
                Te,
                !1
              ), ue !== null && Ct !== null && vd(
                H,
                Ct,
                ue,
                Te,
                !0
              );
            }
          }
          e: {
            if (B = p ? _n(p) : window, Y = B.nodeName && B.nodeName.toLowerCase(), Y === "select" || Y === "input" && B.type === "file")
              var L = Yh;
            else if (z0(B))
              if (aA)
                L = Up;
              else {
                L = Lh;
                var _ = Op;
              }
            else
              Y = B.nodeName, !Y || Y.toLowerCase() !== "input" || B.type !== "checkbox" && B.type !== "radio" ? p && xi(p.elementType) && (L = Yh) : L = zp;
            if (L && (L = L(e, p))) {
              hr(
                H,
                L,
                n,
                Q
              );
              break e;
            }
            _ && _(e, B, p), e === "focusout" && p && B.type === "number" && p.memoizedProps.value != null && wu(B, "number", B.value);
          }
          switch (_ = p ? _n(p) : window, e) {
            case "focusin":
              (z0(_) || _.contentEditable === "true") && (Id = _, Wp = p, Qm = null);
              break;
            case "focusout":
              Qm = Wp = Id = null;
              break;
            case "mousedown":
              Ip = !0;
              break;
            case "contextmenu":
            case "mouseup":
            case "dragend":
              Ip = !1, Q0(
                H,
                n,
                Q
              );
              break;
            case "selectionchange":
              if (LS) break;
            case "keydown":
            case "keyup":
              Q0(
                H,
                n,
                Q
              );
          }
          var Oe;
          if (Kp)
            e: {
              switch (e) {
                case "compositionstart":
                  var ie = "onCompositionStart";
                  break e;
                case "compositionend":
                  ie = "onCompositionEnd";
                  break e;
                case "compositionupdate":
                  ie = "onCompositionUpdate";
                  break e;
              }
              ie = void 0;
            }
          else
            Wd ? Ll(e, n) && (ie = "onCompositionEnd") : e === "keydown" && n.keyCode === Pv && (ie = "onCompositionStart");
          ie && ($v && n.locale !== "ko" && (Wd || ie !== "onCompositionStart" ? ie === "onCompositionEnd" && Wd && (Oe = eu()) : (se = Q, tt = "value" in se ? se.value : se.textContent, Wd = !0)), _ = Hn(
            p,
            ie
          ), 0 < _.length && (ie = new Fv(
            ie,
            e,
            null,
            n,
            Q
          ), H.push({
            event: ie,
            listeners: _
          }), Oe ? ie.data = Oe : (Oe = Lu(n), Oe !== null && (ie.data = Oe)))), (Oe = qS ? dr(e, n) : mf(e, n)) && (ie = Hn(
            p,
            "onBeforeInput"
          ), 0 < ie.length && (_ = new bS(
            "onBeforeInput",
            "beforeinput",
            null,
            n,
            Q
          ), H.push({
            event: _,
            listeners: ie
          }), _.data = Oe)), ng(
            H,
            e,
            p,
            n,
            Q
          );
        }
        md(H, t);
      });
    }
    function Oa(e, t, n) {
      return {
        instance: e,
        listener: t,
        currentTarget: n
      };
    }
    function Hn(e, t) {
      for (var n = t + "Capture", i = []; e !== null; ) {
        var o = e, f = o.stateNode;
        if (o = o.tag, o !== 5 && o !== 26 && o !== 27 || f === null || (o = $n(e, n), o != null && i.unshift(
          Oa(e, o, f)
        ), o = $n(e, t), o != null && i.push(
          Oa(e, o, f)
        )), e.tag === 3) return i;
        e = e.return;
      }
      return [];
    }
    function pa(e) {
      if (e === null) return null;
      do
        e = e.return;
      while (e && e.tag !== 5 && e.tag !== 27);
      return e || null;
    }
    function vd(e, t, n, i, o) {
      for (var f = t._reactName, d = []; n !== null && n !== i; ) {
        var h = n, m = h.alternate, p = h.stateNode;
        if (h = h.tag, m !== null && m === i) break;
        h !== 5 && h !== 26 && h !== 27 || p === null || (m = p, o ? (p = $n(n, f), p != null && d.unshift(
          Oa(n, p, m)
        )) : o || (p = $n(n, f), p != null && d.push(
          Oa(n, p, m)
        ))), n = n.return;
      }
      d.length !== 0 && e.push({ event: t, listeners: d });
    }
    function us(e, t) {
      ao(e, t), e !== "input" && e !== "textarea" && e !== "select" || t == null || t.value !== null || a || (a = !0, e === "select" && t.multiple ? console.error(
        "`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",
        e
      ) : console.error(
        "`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",
        e
      ));
      var n = {
        registrationNameDependencies: Rc,
        possibleRegistrationNames: Dc
      };
      xi(e) || typeof t.is == "string" || Nh(e, t, n), t.contentEditable && !t.suppressContentEditableWarning && t.children != null && console.error(
        "A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."
      );
    }
    function st(e, t, n, i) {
      t !== n && (n = za(n), za(t) !== n && (i[e] = t));
    }
    function ug(e, t, n) {
      t.forEach(function(i) {
        n[Wy(i)] = i === "style" ? Iy(e) : e.getAttribute(i);
      });
    }
    function Zl(e, t) {
      t === !1 ? console.error(
        "Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",
        e,
        e,
        e
      ) : console.error(
        "Expected `%s` listener to be a function, instead got a value of `%s` type.",
        e,
        typeof t
      );
    }
    function Bo(e, t) {
      return e = e.namespaceURI === xs || e.namespaceURI === qn ? e.ownerDocument.createElementNS(
        e.namespaceURI,
        e.tagName
      ) : e.ownerDocument.createElement(e.tagName), e.innerHTML = t, e.innerHTML;
    }
    function za(e) {
      return nf(e) && (console.error(
        "The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before using it here.",
        Jc(e)
      ), fn(e)), (typeof e == "string" ? e : "" + e).replace(rb, `
`).replace(db, "");
    }
    function hc(e, t) {
      return t = za(t), za(e) === t;
    }
    function is() {
    }
    function nt(e, t, n, i, o, f) {
      switch (n) {
        case "children":
          typeof i == "string" ? (hf(i, t, !1), t === "body" || t === "textarea" && i === "" || Bi(e, i)) : (typeof i == "number" || typeof i == "bigint") && (hf("" + i, t, !1), t !== "body" && Bi(e, "" + i));
          break;
        case "className":
          Kt(e, "class", i);
          break;
        case "tabIndex":
          Kt(e, "tabindex", i);
          break;
        case "dir":
        case "role":
        case "viewBox":
        case "width":
        case "height":
          Kt(e, n, i);
          break;
        case "style":
          yf(e, i, f);
          break;
        case "data":
          if (t !== "object") {
            Kt(e, "data", i);
            break;
          }
        case "src":
        case "href":
          if (i === "" && (t !== "a" || n !== "href")) {
            console.error(
              n === "src" ? 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.' : 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
              n,
              n
            ), e.removeAttribute(n);
            break;
          }
          if (i == null || typeof i == "function" || typeof i == "symbol" || typeof i == "boolean") {
            e.removeAttribute(n);
            break;
          }
          ct(i, n), i = no("" + i), e.setAttribute(n, i);
          break;
        case "action":
        case "formAction":
          if (i != null && (t === "form" ? n === "formAction" ? console.error(
            "You can only pass the formAction prop to <input> or <button>. Use the action prop on <form>."
          ) : typeof i == "function" && (o.encType == null && o.method == null || np || (np = !0, console.error(
            "Cannot specify a encType or method for a form that specifies a function as the action. React provides those automatically. They will get overridden."
          )), o.target == null || ap || (ap = !0, console.error(
            "Cannot specify a target for a form that specifies a function as the action. The function will always be executed in the same window."
          ))) : t === "input" || t === "button" ? n === "action" ? console.error(
            "You can only pass the action prop to <form>. Use the formAction prop on <input> or <button>."
          ) : t !== "input" || o.type === "submit" || o.type === "image" || lp ? t !== "button" || o.type == null || o.type === "submit" || lp ? typeof i == "function" && (o.name == null || T1 || (T1 = !0, console.error(
            'Cannot specify a "name" prop for a button that specifies a function as a formAction. React needs it to encode which action should be invoked. It will get overridden.'
          )), o.formEncType == null && o.formMethod == null || np || (np = !0, console.error(
            "Cannot specify a formEncType or formMethod for a button that specifies a function as a formAction. React provides those automatically. They will get overridden."
          )), o.formTarget == null || ap || (ap = !0, console.error(
            "Cannot specify a formTarget for a button that specifies a function as a formAction. The function will always be executed in the same window."
          ))) : (lp = !0, console.error(
            'A button can only specify a formAction along with type="submit" or no type.'
          )) : (lp = !0, console.error(
            'An input can only specify a formAction along with type="submit" or type="image".'
          )) : console.error(
            n === "action" ? "You can only pass the action prop to <form>." : "You can only pass the formAction prop to <input> or <button>."
          )), typeof i == "function") {
            e.setAttribute(
              n,
              "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"
            );
            break;
          } else
            typeof f == "function" && (n === "formAction" ? (t !== "input" && nt(e, t, "name", o.name, o, null), nt(
              e,
              t,
              "formEncType",
              o.formEncType,
              o,
              null
            ), nt(
              e,
              t,
              "formMethod",
              o.formMethod,
              o,
              null
            ), nt(
              e,
              t,
              "formTarget",
              o.formTarget,
              o,
              null
            )) : (nt(
              e,
              t,
              "encType",
              o.encType,
              o,
              null
            ), nt(e, t, "method", o.method, o, null), nt(
              e,
              t,
              "target",
              o.target,
              o,
              null
            )));
          if (i == null || typeof i == "symbol" || typeof i == "boolean") {
            e.removeAttribute(n);
            break;
          }
          ct(i, n), i = no("" + i), e.setAttribute(n, i);
          break;
        case "onClick":
          i != null && (typeof i != "function" && Zl(n, i), e.onclick = is);
          break;
        case "onScroll":
          i != null && (typeof i != "function" && Zl(n, i), Se("scroll", e));
          break;
        case "onScrollEnd":
          i != null && (typeof i != "function" && Zl(n, i), Se("scrollend", e));
          break;
        case "dangerouslySetInnerHTML":
          if (i != null) {
            if (typeof i != "object" || !("__html" in i))
              throw Error(
                "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
              );
            if (n = i.__html, n != null) {
              if (o.children != null)
                throw Error(
                  "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
                );
              e.innerHTML = n;
            }
          }
          break;
        case "multiple":
          e.multiple = i && typeof i != "function" && typeof i != "symbol";
          break;
        case "muted":
          e.muted = i && typeof i != "function" && typeof i != "symbol";
          break;
        case "suppressContentEditableWarning":
        case "suppressHydrationWarning":
        case "defaultValue":
        case "defaultChecked":
        case "innerHTML":
        case "ref":
          break;
        case "autoFocus":
          break;
        case "xlinkHref":
          if (i == null || typeof i == "function" || typeof i == "boolean" || typeof i == "symbol") {
            e.removeAttribute("xlink:href");
            break;
          }
          ct(i, n), n = no("" + i), e.setAttributeNS(ks, "xlink:href", n);
          break;
        case "contentEditable":
        case "spellCheck":
        case "draggable":
        case "value":
        case "autoReverse":
        case "externalResourcesRequired":
        case "focusable":
        case "preserveAlpha":
          i != null && typeof i != "function" && typeof i != "symbol" ? (ct(i, n), e.setAttribute(n, "" + i)) : e.removeAttribute(n);
          break;
        case "inert":
          i !== "" || up[n] || (up[n] = !0, console.error(
            "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
            n
          ));
        case "allowFullScreen":
        case "async":
        case "autoPlay":
        case "controls":
        case "default":
        case "defer":
        case "disabled":
        case "disablePictureInPicture":
        case "disableRemotePlayback":
        case "formNoValidate":
        case "hidden":
        case "loop":
        case "noModule":
        case "noValidate":
        case "open":
        case "playsInline":
        case "readOnly":
        case "required":
        case "reversed":
        case "scoped":
        case "seamless":
        case "itemScope":
          i && typeof i != "function" && typeof i != "symbol" ? e.setAttribute(n, "") : e.removeAttribute(n);
          break;
        case "capture":
        case "download":
          i === !0 ? e.setAttribute(n, "") : i !== !1 && i != null && typeof i != "function" && typeof i != "symbol" ? (ct(i, n), e.setAttribute(n, i)) : e.removeAttribute(n);
          break;
        case "cols":
        case "rows":
        case "size":
        case "span":
          i != null && typeof i != "function" && typeof i != "symbol" && !isNaN(i) && 1 <= i ? (ct(i, n), e.setAttribute(n, i)) : e.removeAttribute(n);
          break;
        case "rowSpan":
        case "start":
          i == null || typeof i == "function" || typeof i == "symbol" || isNaN(i) ? e.removeAttribute(n) : (ct(i, n), e.setAttribute(n, i));
          break;
        case "popover":
          Se("beforetoggle", e), Se("toggle", e), La(e, "popover", i);
          break;
        case "xlinkActuate":
          xt(
            e,
            ks,
            "xlink:actuate",
            i
          );
          break;
        case "xlinkArcrole":
          xt(
            e,
            ks,
            "xlink:arcrole",
            i
          );
          break;
        case "xlinkRole":
          xt(
            e,
            ks,
            "xlink:role",
            i
          );
          break;
        case "xlinkShow":
          xt(
            e,
            ks,
            "xlink:show",
            i
          );
          break;
        case "xlinkTitle":
          xt(
            e,
            ks,
            "xlink:title",
            i
          );
          break;
        case "xlinkType":
          xt(
            e,
            ks,
            "xlink:type",
            i
          );
          break;
        case "xmlBase":
          xt(
            e,
            Nv,
            "xml:base",
            i
          );
          break;
        case "xmlLang":
          xt(
            e,
            Nv,
            "xml:lang",
            i
          );
          break;
        case "xmlSpace":
          xt(
            e,
            Nv,
            "xml:space",
            i
          );
          break;
        case "is":
          f != null && console.error(
            'Cannot update the "is" prop after it has been initialized.'
          ), La(e, "is", i);
          break;
        case "innerText":
        case "textContent":
          break;
        case "popoverTarget":
          C1 || i == null || typeof i != "object" || (C1 = !0, console.error(
            "The `popoverTarget` prop expects the ID of an Element as a string. Received %s instead.",
            i
          ));
        default:
          !(2 < n.length) || n[0] !== "o" && n[0] !== "O" || n[1] !== "n" && n[1] !== "N" ? (n = or(n), La(e, n, i)) : Rc.hasOwnProperty(n) && i != null && typeof i != "function" && Zl(n, i);
      }
    }
    function yc(e, t, n, i, o, f) {
      switch (n) {
        case "style":
          yf(e, i, f);
          break;
        case "dangerouslySetInnerHTML":
          if (i != null) {
            if (typeof i != "object" || !("__html" in i))
              throw Error(
                "`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://react.dev/link/dangerously-set-inner-html for more information."
              );
            if (n = i.__html, n != null) {
              if (o.children != null)
                throw Error(
                  "Can only set one of `children` or `props.dangerouslySetInnerHTML`."
                );
              e.innerHTML = n;
            }
          }
          break;
        case "children":
          typeof i == "string" ? Bi(e, i) : (typeof i == "number" || typeof i == "bigint") && Bi(e, "" + i);
          break;
        case "onScroll":
          i != null && (typeof i != "function" && Zl(n, i), Se("scroll", e));
          break;
        case "onScrollEnd":
          i != null && (typeof i != "function" && Zl(n, i), Se("scrollend", e));
          break;
        case "onClick":
          i != null && (typeof i != "function" && Zl(n, i), e.onclick = is);
          break;
        case "suppressContentEditableWarning":
        case "suppressHydrationWarning":
        case "innerHTML":
        case "ref":
          break;
        case "innerText":
        case "textContent":
          break;
        default:
          if (Rc.hasOwnProperty(n))
            i != null && typeof i != "function" && Zl(n, i);
          else
            e: {
              if (n[0] === "o" && n[1] === "n" && (o = n.endsWith("Capture"), t = n.slice(2, o ? n.length - 7 : void 0), f = e[Nl] || null, f = f != null ? f[n] : null, typeof f == "function" && e.removeEventListener(t, f, o), typeof i == "function")) {
                typeof f != "function" && f !== null && (n in e ? e[n] = null : e.hasAttribute(n) && e.removeAttribute(n)), e.addEventListener(t, i, o);
                break e;
              }
              n in e ? e[n] = i : i === !0 ? e.setAttribute(n, "") : La(e, n, i);
            }
      }
    }
    function fl(e, t, n) {
      switch (us(t, n), t) {
        case "div":
        case "span":
        case "svg":
        case "path":
        case "a":
        case "g":
        case "p":
        case "li":
          break;
        case "img":
          Se("error", e), Se("load", e);
          var i = !1, o = !1, f;
          for (f in n)
            if (n.hasOwnProperty(f)) {
              var d = n[f];
              if (d != null)
                switch (f) {
                  case "src":
                    i = !0;
                    break;
                  case "srcSet":
                    o = !0;
                    break;
                  case "children":
                  case "dangerouslySetInnerHTML":
                    throw Error(
                      t + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                    );
                  default:
                    nt(e, t, f, d, n, null);
                }
            }
          o && nt(e, t, "srcSet", n.srcSet, n, null), i && nt(e, t, "src", n.src, n, null);
          return;
        case "input":
          Hu("input", n), Se("invalid", e);
          var h = f = d = o = null, m = null, p = null;
          for (i in n)
            if (n.hasOwnProperty(i)) {
              var Q = n[i];
              if (Q != null)
                switch (i) {
                  case "name":
                    o = Q;
                    break;
                  case "type":
                    d = Q;
                    break;
                  case "checked":
                    m = Q;
                    break;
                  case "defaultChecked":
                    p = Q;
                    break;
                  case "value":
                    f = Q;
                    break;
                  case "defaultValue":
                    h = Q;
                    break;
                  case "children":
                  case "dangerouslySetInnerHTML":
                    if (Q != null)
                      throw Error(
                        t + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                      );
                    break;
                  default:
                    nt(e, t, i, Q, n, null);
                }
            }
          Di(e, n), $c(
            e,
            f,
            h,
            m,
            p,
            d,
            o,
            !1
          ), nr(e);
          return;
        case "select":
          Hu("select", n), Se("invalid", e), i = d = f = null;
          for (o in n)
            if (n.hasOwnProperty(o) && (h = n[o], h != null))
              switch (o) {
                case "value":
                  f = h;
                  break;
                case "defaultValue":
                  d = h;
                  break;
                case "multiple":
                  i = h;
                default:
                  nt(
                    e,
                    t,
                    o,
                    h,
                    n,
                    null
                  );
              }
          qu(e, n), t = f, n = d, e.multiple = !!i, t != null ? Oi(e, !!i, t, !1) : n != null && Oi(e, !!i, n, !0);
          return;
        case "textarea":
          Hu("textarea", n), Se("invalid", e), f = o = i = null;
          for (d in n)
            if (n.hasOwnProperty(d) && (h = n[d], h != null))
              switch (d) {
                case "value":
                  i = h;
                  break;
                case "defaultValue":
                  o = h;
                  break;
                case "children":
                  f = h;
                  break;
                case "dangerouslySetInnerHTML":
                  if (h != null)
                    throw Error(
                      "`dangerouslySetInnerHTML` does not make sense on <textarea>."
                    );
                  break;
                default:
                  nt(
                    e,
                    t,
                    d,
                    h,
                    n,
                    null
                  );
              }
          zi(e, n), Mh(e, i, o, f), nr(e);
          return;
        case "option":
          Wt(e, n);
          for (m in n)
            if (n.hasOwnProperty(m) && (i = n[m], i != null))
              switch (m) {
                case "selected":
                  e.selected = i && typeof i != "function" && typeof i != "symbol";
                  break;
                default:
                  nt(e, t, m, i, n, null);
              }
          return;
        case "dialog":
          Se("beforetoggle", e), Se("toggle", e), Se("cancel", e), Se("close", e);
          break;
        case "iframe":
        case "object":
          Se("load", e);
          break;
        case "video":
        case "audio":
          for (i = 0; i < a0.length; i++)
            Se(a0[i], e);
          break;
        case "image":
          Se("error", e), Se("load", e);
          break;
        case "details":
          Se("toggle", e);
          break;
        case "embed":
        case "source":
        case "link":
          Se("error", e), Se("load", e);
        case "area":
        case "base":
        case "br":
        case "col":
        case "hr":
        case "keygen":
        case "meta":
        case "param":
        case "track":
        case "wbr":
        case "menuitem":
          for (p in n)
            if (n.hasOwnProperty(p) && (i = n[p], i != null))
              switch (p) {
                case "children":
                case "dangerouslySetInnerHTML":
                  throw Error(
                    t + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                  );
                default:
                  nt(e, t, p, i, n, null);
              }
          return;
        default:
          if (xi(t)) {
            for (Q in n)
              n.hasOwnProperty(Q) && (i = n[Q], i !== void 0 && yc(
                e,
                t,
                Q,
                i,
                n,
                void 0
              ));
            return;
          }
      }
      for (h in n)
        n.hasOwnProperty(h) && (i = n[h], i != null && nt(e, t, h, i, n, null));
    }
    function Ad(e, t, n, i) {
      switch (us(t, i), t) {
        case "div":
        case "span":
        case "svg":
        case "path":
        case "a":
        case "g":
        case "p":
        case "li":
          break;
        case "input":
          var o = null, f = null, d = null, h = null, m = null, p = null, Q = null;
          for (Y in n) {
            var H = n[Y];
            if (n.hasOwnProperty(Y) && H != null)
              switch (Y) {
                case "checked":
                  break;
                case "value":
                  break;
                case "defaultValue":
                  m = H;
                default:
                  i.hasOwnProperty(Y) || nt(
                    e,
                    t,
                    Y,
                    null,
                    i,
                    H
                  );
              }
          }
          for (var B in i) {
            var Y = i[B];
            if (H = n[B], i.hasOwnProperty(B) && (Y != null || H != null))
              switch (B) {
                case "type":
                  f = Y;
                  break;
                case "name":
                  o = Y;
                  break;
                case "checked":
                  p = Y;
                  break;
                case "defaultChecked":
                  Q = Y;
                  break;
                case "value":
                  d = Y;
                  break;
                case "defaultValue":
                  h = Y;
                  break;
                case "children":
                case "dangerouslySetInnerHTML":
                  if (Y != null)
                    throw Error(
                      t + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                    );
                  break;
                default:
                  Y !== H && nt(
                    e,
                    t,
                    B,
                    Y,
                    i,
                    H
                  );
              }
          }
          t = n.type === "checkbox" || n.type === "radio" ? n.checked != null : n.value != null, i = i.type === "checkbox" || i.type === "radio" ? i.checked != null : i.value != null, t || !i || E1 || (console.error(
            "A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
          ), E1 = !0), !t || i || b1 || (console.error(
            "A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://react.dev/link/controlled-components"
          ), b1 = !0), Nu(
            e,
            d,
            h,
            m,
            p,
            Q,
            f,
            o
          );
          return;
        case "select":
          Y = d = h = B = null;
          for (f in n)
            if (m = n[f], n.hasOwnProperty(f) && m != null)
              switch (f) {
                case "value":
                  break;
                case "multiple":
                  Y = m;
                default:
                  i.hasOwnProperty(f) || nt(
                    e,
                    t,
                    f,
                    null,
                    i,
                    m
                  );
              }
          for (o in i)
            if (f = i[o], m = n[o], i.hasOwnProperty(o) && (f != null || m != null))
              switch (o) {
                case "value":
                  B = f;
                  break;
                case "defaultValue":
                  h = f;
                  break;
                case "multiple":
                  d = f;
                default:
                  f !== m && nt(
                    e,
                    t,
                    o,
                    f,
                    i,
                    m
                  );
              }
          i = h, t = d, n = Y, B != null ? Oi(e, !!t, B, !1) : !!n != !!t && (i != null ? Oi(e, !!t, i, !0) : Oi(e, !!t, t ? [] : "", !1));
          return;
        case "textarea":
          Y = B = null;
          for (h in n)
            if (o = n[h], n.hasOwnProperty(h) && o != null && !i.hasOwnProperty(h))
              switch (h) {
                case "value":
                  break;
                case "children":
                  break;
                default:
                  nt(e, t, h, null, i, o);
              }
          for (d in i)
            if (o = i[d], f = n[d], i.hasOwnProperty(d) && (o != null || f != null))
              switch (d) {
                case "value":
                  B = o;
                  break;
                case "defaultValue":
                  Y = o;
                  break;
                case "children":
                  break;
                case "dangerouslySetInnerHTML":
                  if (o != null)
                    throw Error(
                      "`dangerouslySetInnerHTML` does not make sense on <textarea>."
                    );
                  break;
                default:
                  o !== f && nt(e, t, d, o, i, f);
              }
          C0(e, B, Y);
          return;
        case "option":
          for (var ue in n)
            if (B = n[ue], n.hasOwnProperty(ue) && B != null && !i.hasOwnProperty(ue))
              switch (ue) {
                case "selected":
                  e.selected = !1;
                  break;
                default:
                  nt(
                    e,
                    t,
                    ue,
                    null,
                    i,
                    B
                  );
              }
          for (m in i)
            if (B = i[m], Y = n[m], i.hasOwnProperty(m) && B !== Y && (B != null || Y != null))
              switch (m) {
                case "selected":
                  e.selected = B && typeof B != "function" && typeof B != "symbol";
                  break;
                default:
                  nt(
                    e,
                    t,
                    m,
                    B,
                    i,
                    Y
                  );
              }
          return;
        case "img":
        case "link":
        case "area":
        case "base":
        case "br":
        case "col":
        case "embed":
        case "hr":
        case "keygen":
        case "meta":
        case "param":
        case "source":
        case "track":
        case "wbr":
        case "menuitem":
          for (var Te in n)
            B = n[Te], n.hasOwnProperty(Te) && B != null && !i.hasOwnProperty(Te) && nt(
              e,
              t,
              Te,
              null,
              i,
              B
            );
          for (p in i)
            if (B = i[p], Y = n[p], i.hasOwnProperty(p) && B !== Y && (B != null || Y != null))
              switch (p) {
                case "children":
                case "dangerouslySetInnerHTML":
                  if (B != null)
                    throw Error(
                      t + " is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`."
                    );
                  break;
                default:
                  nt(
                    e,
                    t,
                    p,
                    B,
                    i,
                    Y
                  );
              }
          return;
        default:
          if (xi(t)) {
            for (var Ct in n)
              B = n[Ct], n.hasOwnProperty(Ct) && B !== void 0 && !i.hasOwnProperty(Ct) && yc(
                e,
                t,
                Ct,
                void 0,
                i,
                B
              );
            for (Q in i)
              B = i[Q], Y = n[Q], !i.hasOwnProperty(Q) || B === Y || B === void 0 && Y === void 0 || yc(
                e,
                t,
                Q,
                B,
                i,
                Y
              );
            return;
          }
      }
      for (var Ge in n)
        B = n[Ge], n.hasOwnProperty(Ge) && B != null && !i.hasOwnProperty(Ge) && nt(e, t, Ge, null, i, B);
      for (H in i)
        B = i[H], Y = n[H], !i.hasOwnProperty(H) || B === Y || B == null && Y == null || nt(e, t, H, B, i, Y);
    }
    function Wy(e) {
      switch (e) {
        case "class":
          return "className";
        case "for":
          return "htmlFor";
        default:
          return e;
      }
    }
    function Iy(e) {
      var t = {};
      e = e.style;
      for (var n = 0; n < e.length; n++) {
        var i = e[n];
        t[i] = e.getPropertyValue(i);
      }
      return t;
    }
    function ig(e, t, n) {
      if (t != null && typeof t != "object")
        console.error(
          "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
        );
      else {
        var i, o = i = "", f;
        for (f in t)
          if (t.hasOwnProperty(f)) {
            var d = t[f];
            d != null && typeof d != "boolean" && d !== "" && (f.indexOf("--") === 0 ? (uf(d, f), i += o + f + ":" + ("" + d).trim()) : typeof d != "number" || d === 0 || Bs.has(f) ? (uf(d, f), i += o + f.replace(Eu, "-$1").toLowerCase().replace(zg, "-ms-") + ":" + ("" + d).trim()) : i += o + f.replace(Eu, "-$1").toLowerCase().replace(zg, "-ms-") + ":" + d + "px", o = ";");
          }
        i = i || null, t = e.getAttribute("style"), t !== i && (i = za(i), za(t) !== i && (n.style = Iy(e)));
      }
    }
    function Be(e, t, n, i, o, f) {
      if (o.delete(n), e = e.getAttribute(n), e === null)
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            return;
        }
      else if (i != null)
        switch (typeof i) {
          case "function":
          case "symbol":
          case "boolean":
            break;
          default:
            if (ct(i, t), e === "" + i)
              return;
        }
      st(t, e, i, f);
    }
    function rt(e, t, n, i, o, f) {
      if (o.delete(n), e = e.getAttribute(n), e === null) {
        switch (typeof i) {
          case "function":
          case "symbol":
            return;
        }
        if (!i) return;
      } else
        switch (typeof i) {
          case "function":
          case "symbol":
            break;
          default:
            if (i) return;
        }
      st(t, e, i, f);
    }
    function Ne(e, t, n, i, o, f) {
      if (o.delete(n), e = e.getAttribute(n), e === null)
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
            return;
        }
      else if (i != null)
        switch (typeof i) {
          case "function":
          case "symbol":
            break;
          default:
            if (ct(i, n), e === "" + i)
              return;
        }
      st(t, e, i, f);
    }
    function Ve(e, t, n, i, o, f) {
      if (o.delete(n), e = e.getAttribute(n), e === null)
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            return;
          default:
            if (isNaN(i)) return;
        }
      else if (i != null)
        switch (typeof i) {
          case "function":
          case "symbol":
          case "boolean":
            break;
          default:
            if (!isNaN(i) && (ct(i, t), e === "" + i))
              return;
        }
      st(t, e, i, f);
    }
    function Pe(e, t, n, i, o, f) {
      if (o.delete(n), e = e.getAttribute(n), e === null)
        switch (typeof i) {
          case "undefined":
          case "function":
          case "symbol":
          case "boolean":
            return;
        }
      else if (i != null)
        switch (typeof i) {
          case "function":
          case "symbol":
          case "boolean":
            break;
          default:
            if (ct(i, t), n = no("" + i), e === n)
              return;
        }
      st(t, e, i, f);
    }
    function ta(e, t, n, i) {
      for (var o = {}, f = /* @__PURE__ */ new Set(), d = e.attributes, h = 0; h < d.length; h++)
        switch (d[h].name.toLowerCase()) {
          case "value":
            break;
          case "checked":
            break;
          case "selected":
            break;
          default:
            f.add(d[h].name);
        }
      if (xi(t)) {
        for (var m in n)
          if (n.hasOwnProperty(m)) {
            var p = n[m];
            if (p != null) {
              if (Rc.hasOwnProperty(m))
                typeof p != "function" && Zl(m, p);
              else if (n.suppressHydrationWarning !== !0)
                switch (m) {
                  case "children":
                    typeof p != "string" && typeof p != "number" || st(
                      "children",
                      e.textContent,
                      p,
                      o
                    );
                    continue;
                  case "suppressContentEditableWarning":
                  case "suppressHydrationWarning":
                  case "defaultValue":
                  case "defaultChecked":
                  case "innerHTML":
                  case "ref":
                    continue;
                  case "dangerouslySetInnerHTML":
                    d = e.innerHTML, p = p ? p.__html : void 0, p != null && (p = Bo(e, p), st(
                      m,
                      d,
                      p,
                      o
                    ));
                    continue;
                  case "style":
                    f.delete(m), ig(e, p, o);
                    continue;
                  case "offsetParent":
                  case "offsetTop":
                  case "offsetLeft":
                  case "offsetWidth":
                  case "offsetHeight":
                  case "isContentEditable":
                  case "outerText":
                  case "outerHTML":
                    f.delete(m.toLowerCase()), console.error(
                      "Assignment to read-only property will result in a no-op: `%s`",
                      m
                    );
                    continue;
                  case "className":
                    f.delete("class"), d = T0(
                      e,
                      "class",
                      p
                    ), st(
                      "className",
                      d,
                      p,
                      o
                    );
                    continue;
                  default:
                    i.context === jc && t !== "svg" && t !== "math" ? f.delete(m.toLowerCase()) : f.delete(m), d = T0(
                      e,
                      m,
                      p
                    ), st(
                      m,
                      d,
                      p,
                      o
                    );
                }
            }
          }
      } else
        for (p in n)
          if (n.hasOwnProperty(p) && (m = n[p], m != null)) {
            if (Rc.hasOwnProperty(p))
              typeof m != "function" && Zl(p, m);
            else if (n.suppressHydrationWarning !== !0)
              switch (p) {
                case "children":
                  typeof m != "string" && typeof m != "number" || st(
                    "children",
                    e.textContent,
                    m,
                    o
                  );
                  continue;
                case "suppressContentEditableWarning":
                case "suppressHydrationWarning":
                case "value":
                case "checked":
                case "selected":
                case "defaultValue":
                case "defaultChecked":
                case "innerHTML":
                case "ref":
                  continue;
                case "dangerouslySetInnerHTML":
                  d = e.innerHTML, m = m ? m.__html : void 0, m != null && (m = Bo(e, m), d !== m && (o[p] = { __html: d }));
                  continue;
                case "className":
                  Be(
                    e,
                    p,
                    "class",
                    m,
                    f,
                    o
                  );
                  continue;
                case "tabIndex":
                  Be(
                    e,
                    p,
                    "tabindex",
                    m,
                    f,
                    o
                  );
                  continue;
                case "style":
                  f.delete(p), ig(e, m, o);
                  continue;
                case "multiple":
                  f.delete(p), st(
                    p,
                    e.multiple,
                    m,
                    o
                  );
                  continue;
                case "muted":
                  f.delete(p), st(
                    p,
                    e.muted,
                    m,
                    o
                  );
                  continue;
                case "autoFocus":
                  f.delete("autofocus"), st(
                    p,
                    e.autofocus,
                    m,
                    o
                  );
                  continue;
                case "data":
                  if (t !== "object") {
                    f.delete(p), d = e.getAttribute("data"), st(
                      p,
                      d,
                      m,
                      o
                    );
                    continue;
                  }
                case "src":
                case "href":
                  if (!(m !== "" || t === "a" && p === "href" || t === "object" && p === "data")) {
                    console.error(
                      p === "src" ? 'An empty string ("") was passed to the %s attribute. This may cause the browser to download the whole page again over the network. To fix this, either do not render the element at all or pass null to %s instead of an empty string.' : 'An empty string ("") was passed to the %s attribute. To fix this, either do not render the element at all or pass null to %s instead of an empty string.',
                      p,
                      p
                    );
                    continue;
                  }
                  Pe(
                    e,
                    p,
                    p,
                    m,
                    f,
                    o
                  );
                  continue;
                case "action":
                case "formAction":
                  if (d = e.getAttribute(p), typeof m == "function") {
                    f.delete(p.toLowerCase()), p === "formAction" ? (f.delete("name"), f.delete("formenctype"), f.delete("formmethod"), f.delete("formtarget")) : (f.delete("enctype"), f.delete("method"), f.delete("target"));
                    continue;
                  } else if (d === hb) {
                    f.delete(p.toLowerCase()), st(
                      p,
                      "function",
                      m,
                      o
                    );
                    continue;
                  }
                  Pe(
                    e,
                    p,
                    p.toLowerCase(),
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkHref":
                  Pe(
                    e,
                    p,
                    "xlink:href",
                    m,
                    f,
                    o
                  );
                  continue;
                case "contentEditable":
                  Ne(
                    e,
                    p,
                    "contenteditable",
                    m,
                    f,
                    o
                  );
                  continue;
                case "spellCheck":
                  Ne(
                    e,
                    p,
                    "spellcheck",
                    m,
                    f,
                    o
                  );
                  continue;
                case "draggable":
                case "autoReverse":
                case "externalResourcesRequired":
                case "focusable":
                case "preserveAlpha":
                  Ne(
                    e,
                    p,
                    p,
                    m,
                    f,
                    o
                  );
                  continue;
                case "allowFullScreen":
                case "async":
                case "autoPlay":
                case "controls":
                case "default":
                case "defer":
                case "disabled":
                case "disablePictureInPicture":
                case "disableRemotePlayback":
                case "formNoValidate":
                case "hidden":
                case "loop":
                case "noModule":
                case "noValidate":
                case "open":
                case "playsInline":
                case "readOnly":
                case "required":
                case "reversed":
                case "scoped":
                case "seamless":
                case "itemScope":
                  rt(
                    e,
                    p,
                    p.toLowerCase(),
                    m,
                    f,
                    o
                  );
                  continue;
                case "capture":
                case "download":
                  e: {
                    h = e;
                    var Q = d = p, H = o;
                    if (f.delete(Q), h = h.getAttribute(Q), h === null)
                      switch (typeof m) {
                        case "undefined":
                        case "function":
                        case "symbol":
                          break e;
                        default:
                          if (m === !1) break e;
                      }
                    else if (m != null)
                      switch (typeof m) {
                        case "function":
                        case "symbol":
                          break;
                        case "boolean":
                          if (m === !0 && h === "") break e;
                          break;
                        default:
                          if (ct(m, d), h === "" + m)
                            break e;
                      }
                    st(
                      d,
                      h,
                      m,
                      H
                    );
                  }
                  continue;
                case "cols":
                case "rows":
                case "size":
                case "span":
                  e: {
                    if (h = e, Q = d = p, H = o, f.delete(Q), h = h.getAttribute(Q), h === null)
                      switch (typeof m) {
                        case "undefined":
                        case "function":
                        case "symbol":
                        case "boolean":
                          break e;
                        default:
                          if (isNaN(m) || 1 > m) break e;
                      }
                    else if (m != null)
                      switch (typeof m) {
                        case "function":
                        case "symbol":
                        case "boolean":
                          break;
                        default:
                          if (!(isNaN(m) || 1 > m) && (ct(m, d), h === "" + m))
                            break e;
                      }
                    st(
                      d,
                      h,
                      m,
                      H
                    );
                  }
                  continue;
                case "rowSpan":
                  Ve(
                    e,
                    p,
                    "rowspan",
                    m,
                    f,
                    o
                  );
                  continue;
                case "start":
                  Ve(
                    e,
                    p,
                    p,
                    m,
                    f,
                    o
                  );
                  continue;
                case "xHeight":
                  Be(
                    e,
                    p,
                    "x-height",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkActuate":
                  Be(
                    e,
                    p,
                    "xlink:actuate",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkArcrole":
                  Be(
                    e,
                    p,
                    "xlink:arcrole",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkRole":
                  Be(
                    e,
                    p,
                    "xlink:role",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkShow":
                  Be(
                    e,
                    p,
                    "xlink:show",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkTitle":
                  Be(
                    e,
                    p,
                    "xlink:title",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xlinkType":
                  Be(
                    e,
                    p,
                    "xlink:type",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xmlBase":
                  Be(
                    e,
                    p,
                    "xml:base",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xmlLang":
                  Be(
                    e,
                    p,
                    "xml:lang",
                    m,
                    f,
                    o
                  );
                  continue;
                case "xmlSpace":
                  Be(
                    e,
                    p,
                    "xml:space",
                    m,
                    f,
                    o
                  );
                  continue;
                case "inert":
                  m !== "" || up[p] || (up[p] = !0, console.error(
                    "Received an empty string for a boolean attribute `%s`. This will treat the attribute as if it were false. Either pass `false` to silence this warning, or pass `true` if you used an empty string in earlier versions of React to indicate this attribute is true.",
                    p
                  )), rt(
                    e,
                    p,
                    p,
                    m,
                    f,
                    o
                  );
                  continue;
                default:
                  if (!(2 < p.length) || p[0] !== "o" && p[0] !== "O" || p[1] !== "n" && p[1] !== "N") {
                    h = or(p), d = !1, i.context === jc && t !== "svg" && t !== "math" ? f.delete(h.toLowerCase()) : (Q = p.toLowerCase(), Q = zc.hasOwnProperty(
                      Q
                    ) && zc[Q] || null, Q !== null && Q !== p && (d = !0, f.delete(Q)), f.delete(h));
                    e: if (Q = e, H = h, h = m, lr(H))
                      if (Q.hasAttribute(H))
                        Q = Q.getAttribute(
                          H
                        ), ct(
                          h,
                          H
                        ), h = Q === "" + h ? h : Q;
                      else {
                        switch (typeof h) {
                          case "function":
                          case "symbol":
                            break e;
                          case "boolean":
                            if (Q = H.toLowerCase().slice(0, 5), Q !== "data-" && Q !== "aria-")
                              break e;
                        }
                        h = h === void 0 ? void 0 : null;
                      }
                    else h = void 0;
                    d || st(
                      p,
                      h,
                      m,
                      o
                    );
                  }
              }
          }
      return 0 < f.size && n.suppressHydrationWarning !== !0 && ug(e, f, o), Object.keys(o).length === 0 ? null : o;
    }
    function ui(e, t) {
      switch (e.length) {
        case 0:
          return "";
        case 1:
          return e[0];
        case 2:
          return e[0] + " " + t + " " + e[1];
        default:
          return e.slice(0, -1).join(", ") + ", " + t + " " + e[e.length - 1];
      }
    }
    function yu(e) {
      return e.nodeType === 9 ? e : e.ownerDocument;
    }
    function Sd(e) {
      switch (e) {
        case qn:
          return Eh;
        case xs:
          return op;
        default:
          return jc;
      }
    }
    function Qn(e, t) {
      if (e === jc)
        switch (t) {
          case "svg":
            return Eh;
          case "math":
            return op;
          default:
            return jc;
        }
      return e === Eh && t === "foreignObject" ? jc : e;
    }
    function zt(e, t) {
      return e === "textarea" || e === "noscript" || typeof t.children == "string" || typeof t.children == "number" || typeof t.children == "bigint" || typeof t.dangerouslySetInnerHTML == "object" && t.dangerouslySetInnerHTML !== null && t.dangerouslySetInnerHTML.__html != null;
    }
    function ii() {
      var e = window.event;
      return e && e.type === "popstate" ? e === Lv ? !1 : (Lv = e, !0) : (Lv = null, !1);
    }
    function mc(e) {
      setTimeout(function() {
        throw e;
      });
    }
    function Fy(e, t, n) {
      switch (t) {
        case "button":
        case "input":
        case "select":
        case "textarea":
          n.autoFocus && e.focus();
          break;
        case "img":
          n.src ? e.src = n.src : n.srcSet && (e.srcset = n.srcSet);
      }
    }
    function Ua(e, t, n, i) {
      Ad(e, t, n, i), e[Nl] = i;
    }
    function gc(e) {
      Bi(e, "");
    }
    function cs(e, t, n) {
      e.nodeValue = n;
    }
    function Xl(e) {
      if (!e.__reactWarnedAboutChildrenConflict) {
        var t = e[Nl] || null;
        if (t !== null) {
          var n = rn(e);
          n !== null && (typeof t.children == "string" || typeof t.children == "number" ? (e.__reactWarnedAboutChildrenConflict = !0, ae(n, function() {
            console.error(
              'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "children" text content using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.'
            );
          })) : t.dangerouslySetInnerHTML != null && (e.__reactWarnedAboutChildrenConflict = !0, ae(n, function() {
            console.error(
              'Cannot use a ref on a React element as a container to `createRoot` or `createPortal` if that element also sets "dangerouslySetInnerHTML" using React. It should be a leaf with no children. Otherwise it\'s ambiguous which children should be used.'
            );
          })));
        }
      }
    }
    function Nn(e) {
      return e === "head";
    }
    function _y(e, t) {
      e.removeChild(t);
    }
    function bd(e, t) {
      (e.nodeType === 9 ? e.body : e.nodeName === "HTML" ? e.ownerDocument.body : e).removeChild(t);
    }
    function os(e, t) {
      var n = t, i = 0, o = 0;
      do {
        var f = n.nextSibling;
        if (e.removeChild(n), f && f.nodeType === 8)
          if (n = f.data, n === cp) {
            if (0 < i && 8 > i) {
              n = i;
              var d = e.ownerDocument;
              if (n & mb && pc(d.documentElement), n & gb && pc(d.body), n & pb)
                for (n = d.head, pc(n), d = n.firstChild; d; ) {
                  var h = d.nextSibling, m = d.nodeName;
                  d[mi] || m === "SCRIPT" || m === "STYLE" || m === "LINK" && d.rel.toLowerCase() === "stylesheet" || n.removeChild(d), d = h;
                }
            }
            if (o === 0) {
              e.removeChild(f), bc(t);
              return;
            }
            o--;
          } else
            n === ip || n === Lc || n === n0 ? o++ : i = n.charCodeAt(0) - 48;
        else i = 0;
        n = f;
      } while (n);
      bc(t);
    }
    function ci(e) {
      e = e.style, typeof e.setProperty == "function" ? e.setProperty("display", "none", "important") : e.display = "none";
    }
    function el(e) {
      e.nodeValue = "";
    }
    function oi(e, t) {
      t = t[vb], t = t != null && t.hasOwnProperty("display") ? t.display : null, e.style.display = t == null || typeof t == "boolean" ? "" : ("" + t).trim();
    }
    function xo(e, t) {
      e.nodeValue = t;
    }
    function fi(e) {
      var t = e.firstChild;
      for (t && t.nodeType === 10 && (t = t.nextSibling); t; ) {
        var n = t;
        switch (t = t.nextSibling, n.nodeName) {
          case "HTML":
          case "HEAD":
          case "BODY":
            fi(n), tr(n);
            continue;
          case "SCRIPT":
          case "STYLE":
            continue;
          case "LINK":
            if (n.rel.toLowerCase() === "stylesheet") continue;
        }
        e.removeChild(n);
      }
    }
    function Py(e, t, n, i) {
      for (; e.nodeType === 1; ) {
        var o = n;
        if (e.nodeName.toLowerCase() !== t.toLowerCase()) {
          if (!i && (e.nodeName !== "INPUT" || e.type !== "hidden"))
            break;
        } else if (i) {
          if (!e[mi])
            switch (t) {
              case "meta":
                if (!e.hasAttribute("itemprop")) break;
                return e;
              case "link":
                if (f = e.getAttribute("rel"), f === "stylesheet" && e.hasAttribute("data-precedence"))
                  break;
                if (f !== o.rel || e.getAttribute("href") !== (o.href == null || o.href === "" ? null : o.href) || e.getAttribute("crossorigin") !== (o.crossOrigin == null ? null : o.crossOrigin) || e.getAttribute("title") !== (o.title == null ? null : o.title))
                  break;
                return e;
              case "style":
                if (e.hasAttribute("data-precedence")) break;
                return e;
              case "script":
                if (f = e.getAttribute("src"), (f !== (o.src == null ? null : o.src) || e.getAttribute("type") !== (o.type == null ? null : o.type) || e.getAttribute("crossorigin") !== (o.crossOrigin == null ? null : o.crossOrigin)) && f && e.hasAttribute("async") && !e.hasAttribute("itemprop"))
                  break;
                return e;
              default:
                return e;
            }
        } else if (t === "input" && e.type === "hidden") {
          ct(o.name, "name");
          var f = o.name == null ? null : "" + o.name;
          if (o.type === "hidden" && e.getAttribute("name") === f)
            return e;
        } else return e;
        if (e = la(e.nextSibling), e === null) break;
      }
      return null;
    }
    function $y(e, t, n) {
      if (t === "") return null;
      for (; e.nodeType !== 3; )
        if ((e.nodeType !== 1 || e.nodeName !== "INPUT" || e.type !== "hidden") && !n || (e = la(e.nextSibling), e === null)) return null;
      return e;
    }
    function Ed(e) {
      return e.data === n0 || e.data === Lc && e.ownerDocument.readyState === D1;
    }
    function fs(e, t) {
      var n = e.ownerDocument;
      if (e.data !== Lc || n.readyState === D1)
        t();
      else {
        var i = function() {
          t(), n.removeEventListener("DOMContentLoaded", i);
        };
        n.addEventListener("DOMContentLoaded", i), e._reactRetry = i;
      }
    }
    function la(e) {
      for (; e != null; e = e.nextSibling) {
        var t = e.nodeType;
        if (t === 1 || t === 3) break;
        if (t === 8) {
          if (t = e.data, t === ip || t === n0 || t === Lc || t === wv || t === R1)
            break;
          if (t === cp) return null;
        }
      }
      return e;
    }
    function aa(e) {
      if (e.nodeType === 1) {
        for (var t = e.nodeName.toLowerCase(), n = {}, i = e.attributes, o = 0; o < i.length; o++) {
          var f = i[o];
          n[Wy(f.name)] = f.name.toLowerCase() === "style" ? Iy(e) : f.value;
        }
        return { type: t, props: n };
      }
      return e.nodeType === 8 ? { type: "Suspense", props: {} } : e.nodeValue;
    }
    function em(e, t, n) {
      return n === null || n[yb] !== !0 ? (e.nodeValue === t ? e = null : (t = za(t), e = za(e.nodeValue) === t ? null : e.nodeValue), e) : null;
    }
    function na(e) {
      e = e.nextSibling;
      for (var t = 0; e; ) {
        if (e.nodeType === 8) {
          var n = e.data;
          if (n === cp) {
            if (t === 0)
              return la(e.nextSibling);
            t--;
          } else
            n !== ip && n !== n0 && n !== Lc || t++;
        }
        e = e.nextSibling;
      }
      return null;
    }
    function tm(e) {
      e = e.previousSibling;
      for (var t = 0; e; ) {
        if (e.nodeType === 8) {
          var n = e.data;
          if (n === ip || n === n0 || n === Lc) {
            if (t === 0) return e;
            t--;
          } else n === cp && t++;
        }
        e = e.previousSibling;
      }
      return null;
    }
    function cg(e) {
      bc(e);
    }
    function Qp(e) {
      bc(e);
    }
    function mu(e, t, n, i, o) {
      switch (o && cr(e, i.ancestorInfo), t = yu(n), e) {
        case "html":
          if (e = t.documentElement, !e)
            throw Error(
              "React expected an <html> element (document.documentElement) to exist in the Document but one was not found. React never removes the documentElement for any Document it renders into so the cause is likely in some other script running on this page."
            );
          return e;
        case "head":
          if (e = t.head, !e)
            throw Error(
              "React expected a <head> element (document.head) to exist in the Document but one was not found. React never removes the head for any Document it renders into so the cause is likely in some other script running on this page."
            );
          return e;
        case "body":
          if (e = t.body, !e)
            throw Error(
              "React expected a <body> element (document.body) to exist in the Document but one was not found. React never removes the body for any Document it renders into so the cause is likely in some other script running on this page."
            );
          return e;
        default:
          throw Error(
            "resolveSingletonInstance was called with an element type that is not supported. This is a bug in React."
          );
      }
    }
    function Td(e, t, n, i) {
      if (!n[Na] && rn(n)) {
        var o = n.tagName.toLowerCase();
        console.error(
          "You are mounting a new %s component when a previous one has not first unmounted. It is an error to render more than one %s component at a time and attributes and children of these components will likely fail in unpredictable ways. Please only render a single instance of <%s> and if you need to mount a new one, ensure any previous ones have unmounted first.",
          o,
          o,
          o
        );
      }
      switch (e) {
        case "html":
        case "head":
        case "body":
          break;
        default:
          console.error(
            "acquireSingletonInstance was called with an element type that is not supported. This is a bug in React."
          );
      }
      for (o = n.attributes; o.length; )
        n.removeAttributeNode(o[0]);
      fl(n, e, t), n[Ql] = i, n[Nl] = t;
    }
    function pc(e) {
      for (var t = e.attributes; t.length; )
        e.removeAttributeNode(t[0]);
      tr(e);
    }
    function gu(e) {
      return typeof e.getRootNode == "function" ? e.getRootNode() : e.nodeType === 9 ? e : e.ownerDocument;
    }
    function lm(e, t, n) {
      var i = Th;
      if (i && typeof t == "string" && t) {
        var o = Il(t);
        o = 'link[rel="' + e + '"][href="' + o + '"]', typeof n == "string" && (o += '[crossorigin="' + n + '"]'), x1.has(o) || (x1.add(o), e = { rel: e, crossOrigin: n, href: t }, i.querySelector(o) === null && (t = i.createElement("link"), fl(t, "link", e), kt(t), i.head.appendChild(t)));
      }
    }
    function am(e, t, n, i) {
      var o = (o = yi.current) ? gu(o) : null;
      if (!o)
        throw Error(
          '"resourceRoot" was expected to exist. This is a bug in React.'
        );
      switch (e) {
        case "meta":
        case "title":
          return null;
        case "style":
          return typeof n.precedence == "string" && typeof n.href == "string" ? (n = vc(n.href), t = Pc(o).hoistableStyles, i = t.get(n), i || (i = {
            type: "style",
            instance: null,
            count: 0,
            state: null
          }, t.set(n, i)), i) : { type: "void", instance: null, count: 0, state: null };
        case "link":
          if (n.rel === "stylesheet" && typeof n.href == "string" && typeof n.precedence == "string") {
            e = vc(n.href);
            var f = Pc(o).hoistableStyles, d = f.get(e);
            if (!d && (o = o.ownerDocument || o, d = {
              type: "stylesheet",
              instance: null,
              count: 0,
              state: { loading: Ws, preload: null }
            }, f.set(e, d), (f = o.querySelector(
              Ac(e)
            )) && !f._p && (d.instance = f, d.state.loading = u0 | Kn), !Wn.has(e))) {
              var h = {
                rel: "preload",
                as: "style",
                href: n.href,
                crossOrigin: n.crossOrigin,
                integrity: n.integrity,
                media: n.media,
                hrefLang: n.hrefLang,
                referrerPolicy: n.referrerPolicy
              };
              Wn.set(e, h), f || Np(
                o,
                e,
                h,
                d.state
              );
            }
            if (t && i === null)
              throw n = `

  - ` + ss(t) + `
  + ` + ss(n), Error(
                "Expected <link> not to update to be updated to a stylesheet with precedence. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + n
              );
            return d;
          }
          if (t && i !== null)
            throw n = `

  - ` + ss(t) + `
  + ` + ss(n), Error(
              "Expected stylesheet with precedence to not be updated to a different kind of <link>. Check the `rel`, `href`, and `precedence` props of this component. Alternatively, check whether two different <link> components render in the same slot or share the same key." + n
            );
          return null;
        case "script":
          return t = n.async, n = n.src, typeof n == "string" && t && typeof t != "function" && typeof t != "symbol" ? (n = Ho(n), t = Pc(o).hoistableScripts, i = t.get(n), i || (i = {
            type: "script",
            instance: null,
            count: 0,
            state: null
          }, t.set(n, i)), i) : { type: "void", instance: null, count: 0, state: null };
        default:
          throw Error(
            'getResource encountered a type it did not expect: "' + e + '". this is a bug in React.'
          );
      }
    }
    function ss(e) {
      var t = 0, n = "<link";
      return typeof e.rel == "string" ? (t++, n += ' rel="' + e.rel + '"') : Vt.call(e, "rel") && (t++, n += ' rel="' + (e.rel === null ? "null" : "invalid type " + typeof e.rel) + '"'), typeof e.href == "string" ? (t++, n += ' href="' + e.href + '"') : Vt.call(e, "href") && (t++, n += ' href="' + (e.href === null ? "null" : "invalid type " + typeof e.href) + '"'), typeof e.precedence == "string" ? (t++, n += ' precedence="' + e.precedence + '"') : Vt.call(e, "precedence") && (t++, n += " precedence={" + (e.precedence === null ? "null" : "invalid type " + typeof e.precedence) + "}"), Object.getOwnPropertyNames(e).length > t && (n += " ..."), n + " />";
    }
    function vc(e) {
      return 'href="' + Il(e) + '"';
    }
    function Ac(e) {
      return 'link[rel="stylesheet"][' + e + "]";
    }
    function Cd(e) {
      return ee({}, e, {
        "data-precedence": e.precedence,
        precedence: null
      });
    }
    function Np(e, t, n, i) {
      e.querySelector(
        'link[rel="preload"][as="style"][' + t + "]"
      ) ? i.loading = u0 : (t = e.createElement("link"), i.preload = t, t.addEventListener("load", function() {
        return i.loading |= u0;
      }), t.addEventListener("error", function() {
        return i.loading |= M1;
      }), fl(t, "link", n), kt(t), e.head.appendChild(t));
    }
    function Ho(e) {
      return '[src="' + Il(e) + '"]';
    }
    function rs(e) {
      return "script[async]" + e;
    }
    function nm(e, t, n) {
      if (t.count++, t.instance === null)
        switch (t.type) {
          case "style":
            var i = e.querySelector(
              'style[data-href~="' + Il(n.href) + '"]'
            );
            if (i)
              return t.instance = i, kt(i), i;
            var o = ee({}, n, {
              "data-href": n.href,
              "data-precedence": n.precedence,
              href: null,
              precedence: null
            });
            return i = (e.ownerDocument || e).createElement("style"), kt(i), fl(i, "style", o), ds(i, n.precedence, e), t.instance = i;
          case "stylesheet":
            o = vc(n.href);
            var f = e.querySelector(
              Ac(o)
            );
            if (f)
              return t.state.loading |= Kn, t.instance = f, kt(f), f;
            i = Cd(n), (o = Wn.get(o)) && si(i, o), f = (e.ownerDocument || e).createElement("link"), kt(f);
            var d = f;
            return d._p = new Promise(function(h, m) {
              d.onload = h, d.onerror = m;
            }), fl(f, "link", i), t.state.loading |= Kn, ds(f, n.precedence, e), t.instance = f;
          case "script":
            return f = Ho(n.src), (o = e.querySelector(
              rs(f)
            )) ? (t.instance = o, kt(o), o) : (i = n, (o = Wn.get(f)) && (i = ee({}, n), Qo(i, o)), e = e.ownerDocument || e, o = e.createElement("script"), kt(o), fl(o, "link", i), e.head.appendChild(o), t.instance = o);
          case "void":
            return null;
          default:
            throw Error(
              'acquireResource encountered a resource type it did not expect: "' + t.type + '". this is a bug in React.'
            );
        }
      else
        t.type === "stylesheet" && (t.state.loading & Kn) === Ws && (i = t.instance, t.state.loading |= Kn, ds(i, n.precedence, e));
      return t.instance;
    }
    function ds(e, t, n) {
      for (var i = n.querySelectorAll(
        'link[rel="stylesheet"][data-precedence],style[data-precedence]'
      ), o = i.length ? i[i.length - 1] : null, f = o, d = 0; d < i.length; d++) {
        var h = i[d];
        if (h.dataset.precedence === t) f = h;
        else if (f !== o) break;
      }
      f ? f.parentNode.insertBefore(e, f.nextSibling) : (t = n.nodeType === 9 ? n.head : n, t.insertBefore(e, t.firstChild));
    }
    function si(e, t) {
      e.crossOrigin == null && (e.crossOrigin = t.crossOrigin), e.referrerPolicy == null && (e.referrerPolicy = t.referrerPolicy), e.title == null && (e.title = t.title);
    }
    function Qo(e, t) {
      e.crossOrigin == null && (e.crossOrigin = t.crossOrigin), e.referrerPolicy == null && (e.referrerPolicy = t.referrerPolicy), e.integrity == null && (e.integrity = t.integrity);
    }
    function um(e, t, n) {
      if (fp === null) {
        var i = /* @__PURE__ */ new Map(), o = fp = /* @__PURE__ */ new Map();
        o.set(n, i);
      } else
        o = fp, i = o.get(n), i || (i = /* @__PURE__ */ new Map(), o.set(n, i));
      if (i.has(e)) return i;
      for (i.set(e, null), n = n.getElementsByTagName(e), o = 0; o < n.length; o++) {
        var f = n[o];
        if (!(f[mi] || f[Ql] || e === "link" && f.getAttribute("rel") === "stylesheet") && f.namespaceURI !== qn) {
          var d = f.getAttribute(t) || "";
          d = e + d;
          var h = i.get(d);
          h ? h.push(f) : i.set(d, [f]);
        }
      }
      return i;
    }
    function im(e, t, n) {
      e = e.ownerDocument || e, e.head.insertBefore(
        n,
        t === "title" ? e.querySelector("head > title") : null
      );
    }
    function og(e, t, n) {
      var i = !n.ancestorInfo.containerTagInScope;
      if (n.context === Eh || t.itemProp != null)
        return !i || t.itemProp == null || e !== "meta" && e !== "title" && e !== "style" && e !== "link" && e !== "script" || console.error(
          "Cannot render a <%s> outside the main document if it has an `itemProp` prop. `itemProp` suggests the tag belongs to an `itemScope` which can appear anywhere in the DOM. If you were intending for React to hoist this <%s> remove the `itemProp` prop. Otherwise, try moving this tag into the <head> or <body> of the Document.",
          e,
          e
        ), !1;
      switch (e) {
        case "meta":
        case "title":
          return !0;
        case "style":
          if (typeof t.precedence != "string" || typeof t.href != "string" || t.href === "") {
            i && console.error(
              'Cannot render a <style> outside the main document without knowing its precedence and a unique href key. React can hoist and deduplicate <style> tags if you provide a `precedence` prop along with an `href` prop that does not conflict with the `href` values used in any other hoisted <style> or <link rel="stylesheet" ...> tags.  Note that hoisting <style> tags is considered an advanced feature that most will not use directly. Consider moving the <style> tag to the <head> or consider adding a `precedence="default"` and `href="some unique resource identifier"`.'
            );
            break;
          }
          return !0;
        case "link":
          if (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" || t.onLoad || t.onError) {
            if (t.rel === "stylesheet" && typeof t.precedence == "string") {
              e = t.href;
              var o = t.onError, f = t.disabled;
              n = [], t.onLoad && n.push("`onLoad`"), o && n.push("`onError`"), f != null && n.push("`disabled`"), o = ui(n, "and"), o += n.length === 1 ? " prop" : " props", f = n.length === 1 ? "an " + o : "the " + o, n.length && console.error(
                'React encountered a <link rel="stylesheet" href="%s" ... /> with a `precedence` prop that also included %s. The presence of loading and error handlers indicates an intent to manage the stylesheet loading state from your from your Component code and React will not hoist or deduplicate this stylesheet. If your intent was to have React hoist and deduplciate this stylesheet using the `precedence` prop remove the %s, otherwise remove the `precedence` prop.',
                e,
                f,
                o
              );
            }
            i && (typeof t.rel != "string" || typeof t.href != "string" || t.href === "" ? console.error(
              "Cannot render a <link> outside the main document without a `rel` and `href` prop. Try adding a `rel` and/or `href` prop to this <link> or moving the link into the <head> tag"
            ) : (t.onError || t.onLoad) && console.error(
              "Cannot render a <link> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."
            ));
            break;
          }
          switch (t.rel) {
            case "stylesheet":
              return e = t.precedence, t = t.disabled, typeof e != "string" && i && console.error(
                'Cannot render a <link rel="stylesheet" /> outside the main document without knowing its precedence. Consider adding precedence="default" or moving it into the root <head> tag.'
              ), typeof e == "string" && t == null;
            default:
              return !0;
          }
        case "script":
          if (e = t.async && typeof t.async != "function" && typeof t.async != "symbol", !e || t.onLoad || t.onError || !t.src || typeof t.src != "string") {
            i && (e ? t.onLoad || t.onError ? console.error(
              "Cannot render a <script> with onLoad or onError listeners outside the main document. Try removing onLoad={...} and onError={...} or moving it into the root <head> tag or somewhere in the <body>."
            ) : console.error(
              "Cannot render a <script> outside the main document without `async={true}` and a non-empty `src` prop. Ensure there is a valid `src` and either make the script async or move it into the root <head> tag or somewhere in the <body>."
            ) : console.error(
              'Cannot render a sync or defer <script> outside the main document without knowing its order. Try adding async="" or moving it into the root <head> tag.'
            ));
            break;
          }
          return !0;
        case "noscript":
        case "template":
          i && console.error(
            "Cannot render <%s> outside the main document. Try moving it into the root <head> tag.",
            e
          );
      }
      return !1;
    }
    function cm(e) {
      return !(e.type === "stylesheet" && (e.state.loading & B1) === Ws);
    }
    function fg() {
    }
    function sg(e, t, n) {
      if (i0 === null)
        throw Error(
          "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
        );
      var i = i0;
      if (t.type === "stylesheet" && (typeof n.media != "string" || matchMedia(n.media).matches !== !1) && (t.state.loading & Kn) === Ws) {
        if (t.instance === null) {
          var o = vc(n.href), f = e.querySelector(
            Ac(o)
          );
          if (f) {
            e = f._p, e !== null && typeof e == "object" && typeof e.then == "function" && (i.count++, i = hs.bind(i), e.then(i, i)), t.state.loading |= Kn, t.instance = f, kt(f);
            return;
          }
          f = e.ownerDocument || e, n = Cd(n), (o = Wn.get(o)) && si(n, o), f = f.createElement("link"), kt(f);
          var d = f;
          d._p = new Promise(function(h, m) {
            d.onload = h, d.onerror = m;
          }), fl(f, "link", n), t.instance = f;
        }
        i.stylesheets === null && (i.stylesheets = /* @__PURE__ */ new Map()), i.stylesheets.set(t, e), (e = t.state.preload) && (t.state.loading & B1) === Ws && (i.count++, t = hs.bind(i), e.addEventListener("load", t), e.addEventListener("error", t));
      }
    }
    function Rd() {
      if (i0 === null)
        throw Error(
          "Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug."
        );
      var e = i0;
      return e.stylesheets && e.count === 0 && Dd(e, e.stylesheets), 0 < e.count ? function(t) {
        var n = setTimeout(function() {
          if (e.stylesheets && Dd(e, e.stylesheets), e.unsuspend) {
            var i = e.unsuspend;
            e.unsuspend = null, i();
          }
        }, 6e4);
        return e.unsuspend = t, function() {
          e.unsuspend = null, clearTimeout(n);
        };
      } : null;
    }
    function hs() {
      if (this.count--, this.count === 0) {
        if (this.stylesheets)
          Dd(this, this.stylesheets);
        else if (this.unsuspend) {
          var e = this.unsuspend;
          this.unsuspend = null, e();
        }
      }
    }
    function Dd(e, t) {
      e.stylesheets = null, e.unsuspend !== null && (e.count++, sp = /* @__PURE__ */ new Map(), t.forEach(dt, e), sp = null, hs.call(e));
    }
    function dt(e, t) {
      if (!(t.state.loading & Kn)) {
        var n = sp.get(e);
        if (n) var i = n.get(Vv);
        else {
          n = /* @__PURE__ */ new Map(), sp.set(e, n);
          for (var o = e.querySelectorAll(
            "link[data-precedence],style[data-precedence]"
          ), f = 0; f < o.length; f++) {
            var d = o[f];
            (d.nodeName === "LINK" || d.getAttribute("media") !== "not all") && (n.set(d.dataset.precedence, d), i = d);
          }
          i && n.set(Vv, i);
        }
        o = t.instance, d = o.getAttribute("data-precedence"), f = n.get(d) || i, f === i && n.set(Vv, o), n.set(d, o), this.count++, i = hs.bind(this), o.addEventListener("load", i), o.addEventListener("error", i), f ? f.parentNode.insertBefore(o, f.nextSibling) : (e = e.nodeType === 9 ? e.head : e, e.insertBefore(o, e.firstChild)), t.state.loading |= Kn;
      }
    }
    function om(e, t, n, i, o, f, d, h) {
      for (this.tag = 1, this.containerInfo = e, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = Ks, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = sn(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = sn(0), this.hiddenUpdates = sn(null), this.identifierPrefix = i, this.onUncaughtError = o, this.onCaughtError = f, this.onRecoverableError = d, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = h, this.incompleteTransitions = /* @__PURE__ */ new Map(), this.passiveEffectDuration = this.effectDuration = -0, this.memoizedUpdaters = /* @__PURE__ */ new Set(), e = this.pendingUpdatersLaneMap = [], t = 0; 31 > t; t++) e.push(/* @__PURE__ */ new Set());
      this._debugRootType = n ? "hydrateRoot()" : "createRoot()";
    }
    function rg(e, t, n, i, o, f, d, h, m, p, Q, H) {
      return e = new om(
        e,
        t,
        n,
        d,
        h,
        m,
        p,
        H
      ), t = ZS, f === !0 && (t |= fa | Cu), xa && (t |= kl), f = ye(3, null, null, t), e.current = f, f.stateNode = e, t = Tf(), Vi(t), e.pooledCache = t, Vi(t), f.memoizedState = {
        element: i,
        isDehydrated: n,
        cache: t
      }, ny(f), e;
    }
    function fm(e) {
      return e ? (e = Xo, e) : Xo;
    }
    function sm(e, t, n, i, o, f) {
      if (bl && typeof bl.onScheduleFiberRoot == "function")
        try {
          bl.onScheduleFiberRoot(Vo, i, n);
        } catch (d) {
          ca || (ca = !0, console.error(
            "React instrumentation encountered an error: %s",
            d
          ));
        }
      P !== null && typeof P.markRenderScheduled == "function" && P.markRenderScheduled(t), o = fm(o), i.context === null ? i.context = o : i.pendingContext = o, ia && ua !== null && !w1 && (w1 = !0, console.error(
        `Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.

Check the render method of %s.`,
        te(ua) || "Unknown"
      )), i = vn(t), i.payload = { element: n }, f = f === void 0 ? null : f, f !== null && (typeof f != "function" && console.error(
        "Expected the last optional `callback` argument to be a function. Instead received: %s.",
        f
      ), i.callback = f), n = zl(e, i, t), n !== null && (wt(n, e, t), co(n, e, t));
    }
    function dg(e, t) {
      if (e = e.memoizedState, e !== null && e.dehydrated !== null) {
        var n = e.retryLane;
        e.retryLane = n !== 0 && n < t ? n : t;
      }
    }
    function rm(e, t) {
      dg(e, t), (e = e.alternate) && dg(e, t);
    }
    function ys(e) {
      if (e.tag === 13) {
        var t = Fl(e, 67108864);
        t !== null && wt(t, e, 67108864), rm(e, 67108864);
      }
    }
    function No() {
      return ua;
    }
    function dm() {
      for (var e = /* @__PURE__ */ new Map(), t = 1, n = 0; 31 > n; n++) {
        var i = er(t);
        e.set(t, i), t *= 2;
      }
      return e;
    }
    function Od(e, t, n, i) {
      var o = N.T;
      N.T = null;
      var f = Xe.p;
      try {
        Xe.p = oa, pu(e, t, n, i);
      } finally {
        Xe.p = f, N.T = o;
      }
    }
    function hm(e, t, n, i) {
      var o = N.T;
      N.T = null;
      var f = Xe.p;
      try {
        Xe.p = Ha, pu(e, t, n, i);
      } finally {
        Xe.p = f, N.T = o;
      }
    }
    function pu(e, t, n, i) {
      if (dp) {
        var o = Ma(i);
        if (o === null)
          pd(
            e,
            t,
            i,
            hp,
            n
          ), ym(e, i);
        else if (yg(
          o,
          e,
          t,
          n,
          i
        ))
          i.stopPropagation();
        else if (ym(e, i), t & 4 && -1 < Eb.indexOf(e)) {
          for (; o !== null; ) {
            var f = rn(o);
            if (f !== null)
              switch (f.tag) {
                case 3:
                  if (f = f.stateNode, f.current.memoizedState.isDehydrated) {
                    var d = Ci(f.pendingLanes);
                    if (d !== 0) {
                      var h = f;
                      for (h.pendingLanes |= 2, h.entangledLanes |= 2; d; ) {
                        var m = 1 << 31 - Jl(d);
                        h.entanglements[1] |= m, d &= ~m;
                      }
                      ol(f), (ut & (Ea | zu)) === un && (Ig = wn() + y1, St(0));
                    }
                  }
                  break;
                case 13:
                  h = Fl(f, 2), h !== null && wt(h, f, 2), ai(), rm(f, 2);
              }
            if (f = Ma(i), f === null && pd(
              e,
              t,
              i,
              hp,
              n
            ), f === o) break;
            o = f;
          }
          o !== null && i.stopPropagation();
        } else
          pd(
            e,
            t,
            i,
            null,
            n
          );
      }
    }
    function Ma(e) {
      return e = Hi(e), Sc(e);
    }
    function Sc(e) {
      if (hp = null, e = Ri(e), e !== null) {
        var t = be(e);
        if (t === null) e = null;
        else {
          var n = t.tag;
          if (n === 13) {
            if (e = Ie(t), e !== null) return e;
            e = null;
          } else if (n === 3) {
            if (t.stateNode.current.memoizedState.isDehydrated)
              return t.tag === 3 ? t.stateNode.containerInfo : null;
            e = null;
          } else t !== e && (e = null);
        }
      }
      return hp = e, null;
    }
    function hg(e) {
      switch (e) {
        case "beforetoggle":
        case "cancel":
        case "click":
        case "close":
        case "contextmenu":
        case "copy":
        case "cut":
        case "auxclick":
        case "dblclick":
        case "dragend":
        case "dragstart":
        case "drop":
        case "focusin":
        case "focusout":
        case "input":
        case "invalid":
        case "keydown":
        case "keypress":
        case "keyup":
        case "mousedown":
        case "mouseup":
        case "paste":
        case "pause":
        case "play":
        case "pointercancel":
        case "pointerdown":
        case "pointerup":
        case "ratechange":
        case "reset":
        case "resize":
        case "seeked":
        case "submit":
        case "toggle":
        case "touchcancel":
        case "touchend":
        case "touchstart":
        case "volumechange":
        case "change":
        case "selectionchange":
        case "textInput":
        case "compositionstart":
        case "compositionend":
        case "compositionupdate":
        case "beforeblur":
        case "afterblur":
        case "beforeinput":
        case "blur":
        case "fullscreenchange":
        case "focus":
        case "hashchange":
        case "popstate":
        case "select":
        case "selectstart":
          return oa;
        case "drag":
        case "dragenter":
        case "dragexit":
        case "dragleave":
        case "dragover":
        case "mousemove":
        case "mouseout":
        case "mouseover":
        case "pointermove":
        case "pointerout":
        case "pointerover":
        case "scroll":
        case "touchmove":
        case "wheel":
        case "mouseenter":
        case "mouseleave":
        case "pointerenter":
        case "pointerleave":
          return Ha;
        case "message":
          switch (Lo()) {
            case Ld:
              return oa;
            case Em:
              return Ha;
            case jo:
            case Yp:
              return Qa;
            case Tm:
              return Rs;
            default:
              return Qa;
          }
        default:
          return Qa;
      }
    }
    function ym(e, t) {
      switch (e) {
        case "focusin":
        case "focusout":
          ef = null;
          break;
        case "dragenter":
        case "dragleave":
          tf = null;
          break;
        case "mouseover":
        case "mouseout":
          lf = null;
          break;
        case "pointerover":
        case "pointerout":
          o0.delete(t.pointerId);
          break;
        case "gotpointercapture":
        case "lostpointercapture":
          f0.delete(t.pointerId);
      }
    }
    function wo(e, t, n, i, o, f) {
      return e === null || e.nativeEvent !== f ? (e = {
        blockedOn: t,
        domEventName: n,
        eventSystemFlags: i,
        nativeEvent: f,
        targetContainers: [o]
      }, t !== null && (t = rn(t), t !== null && ys(t)), e) : (e.eventSystemFlags |= i, t = e.targetContainers, o !== null && t.indexOf(o) === -1 && t.push(o), e);
    }
    function yg(e, t, n, i, o) {
      switch (t) {
        case "focusin":
          return ef = wo(
            ef,
            e,
            t,
            n,
            i,
            o
          ), !0;
        case "dragenter":
          return tf = wo(
            tf,
            e,
            t,
            n,
            i,
            o
          ), !0;
        case "mouseover":
          return lf = wo(
            lf,
            e,
            t,
            n,
            i,
            o
          ), !0;
        case "pointerover":
          var f = o.pointerId;
          return o0.set(
            f,
            wo(
              o0.get(f) || null,
              e,
              t,
              n,
              i,
              o
            )
          ), !0;
        case "gotpointercapture":
          return f = o.pointerId, f0.set(
            f,
            wo(
              f0.get(f) || null,
              e,
              t,
              n,
              i,
              o
            )
          ), !0;
      }
      return !1;
    }
    function mm(e) {
      var t = Ri(e.target);
      if (t !== null) {
        var n = be(t);
        if (n !== null) {
          if (t = n.tag, t === 13) {
            if (t = Ie(n), t !== null) {
              e.blockedOn = t, Tp(e.priority, function() {
                if (n.tag === 13) {
                  var i = at(n);
                  i = Ic(i);
                  var o = Fl(
                    n,
                    i
                  );
                  o !== null && wt(o, n, i), rm(n, i);
                }
              });
              return;
            }
          } else if (t === 3 && n.stateNode.current.memoizedState.isDehydrated) {
            e.blockedOn = n.tag === 3 ? n.stateNode.containerInfo : null;
            return;
          }
        }
      }
      e.blockedOn = null;
    }
    function zd(e) {
      if (e.blockedOn !== null) return !1;
      for (var t = e.targetContainers; 0 < t.length; ) {
        var n = Ma(e.nativeEvent);
        if (n === null) {
          n = e.nativeEvent;
          var i = new n.constructor(
            n.type,
            n
          ), o = i;
          A !== null && console.error(
            "Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."
          ), A = o, n.target.dispatchEvent(i), A === null && console.error(
            "Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."
          ), A = null;
        } else
          return t = rn(n), t !== null && ys(t), e.blockedOn = n, !1;
        t.shift();
      }
      return !0;
    }
    function Ud(e, t, n) {
      zd(e) && n.delete(t);
    }
    function mg() {
      Gv = !1, ef !== null && zd(ef) && (ef = null), tf !== null && zd(tf) && (tf = null), lf !== null && zd(lf) && (lf = null), o0.forEach(Ud), f0.forEach(Ud);
    }
    function ms(e, t) {
      e.blockedOn === t && (e.blockedOn = null, Gv || (Gv = !0, Ut.unstable_scheduleCallback(
        Ut.unstable_NormalPriority,
        mg
      )));
    }
    function gg(e) {
      yp !== e && (yp = e, Ut.unstable_scheduleCallback(
        Ut.unstable_NormalPriority,
        function() {
          yp === e && (yp = null);
          for (var t = 0; t < e.length; t += 3) {
            var n = e[t], i = e[t + 1], o = e[t + 2];
            if (typeof i != "function") {
              if (Sc(i || n) === null)
                continue;
              break;
            }
            var f = rn(n);
            f !== null && (e.splice(t, 3), t -= 3, n = {
              pending: !0,
              data: o,
              method: n.method,
              action: i
            }, Object.freeze(n), bn(
              f,
              n,
              i,
              o
            ));
          }
        }
      ));
    }
    function bc(e) {
      function t(m) {
        return ms(m, e);
      }
      ef !== null && ms(ef, e), tf !== null && ms(tf, e), lf !== null && ms(lf, e), o0.forEach(t), f0.forEach(t);
      for (var n = 0; n < af.length; n++) {
        var i = af[n];
        i.blockedOn === e && (i.blockedOn = null);
      }
      for (; 0 < af.length && (n = af[0], n.blockedOn === null); )
        mm(n), n.blockedOn === null && af.shift();
      if (n = (e.ownerDocument || e).$$reactFormReplay, n != null)
        for (i = 0; i < n.length; i += 3) {
          var o = n[i], f = n[i + 1], d = o[Nl] || null;
          if (typeof f == "function")
            d || gg(n);
          else if (d) {
            var h = null;
            if (f && f.hasAttribute("formAction")) {
              if (o = f, d = f[Nl] || null)
                h = d.formAction;
              else if (Sc(o) !== null) continue;
            } else h = d.action;
            typeof h == "function" ? n[i + 1] = h : (n.splice(i, 3), i -= 3), gg(n);
          }
        }
    }
    function gs(e) {
      this._internalRoot = e;
    }
    function Md(e) {
      this._internalRoot = e;
    }
    function pg(e) {
      e[Na] && (e._reactRootContainer ? console.error(
        "You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."
      ) : console.error(
        "You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."
      ));
    }
    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
    var Ut = fS(), gm = Sp, vg = oS, ee = Object.assign, pm = Symbol.for("react.element"), ln = Symbol.for("react.transitional.element"), ri = Symbol.for("react.portal"), Ec = Symbol.for("react.fragment"), qo = Symbol.for("react.strict_mode"), Tc = Symbol.for("react.profiler"), Bd = Symbol.for("react.provider"), di = Symbol.for("react.consumer"), an = Symbol.for("react.context"), ps = Symbol.for("react.forward_ref"), vm = Symbol.for("react.suspense"), xd = Symbol.for("react.suspense_list"), vs = Symbol.for("react.memo"), Hl = Symbol.for("react.lazy"), et = Symbol.for("react.activity"), Am = Symbol.for("react.memo_cache_sentinel"), sl = Symbol.iterator, wp = Symbol.for("react.client.reference"), tl = Array.isArray, N = gm.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Xe = vg.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ag = Object.freeze({
      pending: !1,
      data: null,
      method: null,
      action: null
    }), Hd = [], As = [], nn = -1, hi = ft(null), Yo = ft(null), yi = ft(null), Ss = ft(null), bs = 0, Sg, vu, Sm, Qd, bg, Eg, Nd;
    ge.__reactDisabledLog = !0;
    var bm, Ba, Es = !1, wd = new (typeof WeakMap == "function" ? WeakMap : Map)(), ua = null, ia = !1, Vt = Object.prototype.hasOwnProperty, qd = Ut.unstable_scheduleCallback, Yd = Ut.unstable_cancelCallback, Au = Ut.unstable_shouldYield, qp = Ut.unstable_requestPaint, wn = Ut.unstable_now, Lo = Ut.unstable_getCurrentPriorityLevel, Ld = Ut.unstable_ImmediatePriority, Em = Ut.unstable_UserBlockingPriority, jo = Ut.unstable_NormalPriority, Yp = Ut.unstable_LowPriority, Tm = Ut.unstable_IdlePriority, Lp = Ut.log, jp = Ut.unstable_setDisableYieldValue, Vo = null, bl = null, P = null, ca = !1, xa = typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u", Jl = Math.clz32 ? Math.clz32 : S0, Go = Math.log, Ts = Math.LN2, Cs = 256, Cc = 4194304, oa = 2, Ha = 8, Qa = 32, Rs = 268435456, Su = Math.random().toString(36).slice(2), Ql = "__reactFiber$" + Su, Nl = "__reactProps$" + Su, Na = "__reactContainer$" + Su, Cm = "__reactEvents$" + Su, Vp = "__reactListeners$" + Su, Gp = "__reactHandles$" + Su, Ds = "__reactResources$" + Su, mi = "__reactMarker$" + Su, jd = /* @__PURE__ */ new Set(), Rc = {}, Dc = {}, Zp = {
      button: !0,
      checkbox: !0,
      image: !0,
      hidden: !0,
      radio: !0,
      reset: !0,
      submit: !0
    }, Tg = RegExp(
      "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
    ), Rm = {}, Dm = {}, Cg = /[\n"\\]/g, Vd = !1, Om = !1, Os = !1, Rg = !1, Dg = !1, Gd = !1, Zd = ["value", "defaultValue"], zs = !1, Xd = /["'&<>\n\t]|^\s|\s$/, Og = "address applet area article aside base basefont bgsound blockquote body br button caption center col colgroup dd details dir div dl dt embed fieldset figcaption figure footer form frame frameset h1 h2 h3 h4 h5 h6 head header hgroup hr html iframe img input isindex li link listing main marquee menu menuitem meta nav noembed noframes noscript object ol p param plaintext pre script section select source style summary table tbody td template textarea tfoot th thead title tr track ul wbr xmp".split(
      " "
    ), Jd = "applet caption html table td th marquee object template foreignObject desc title".split(
      " "
    ), gi = Jd.concat(["button"]), pi = "dd dt li option optgroup p rp rt".split(" "), bu = {
      current: null,
      formTag: null,
      aTagInScope: null,
      buttonTagInScope: null,
      nobrTagInScope: null,
      pTagInButtonScope: null,
      listItemTagAutoclosing: null,
      dlItemTagAutoclosing: null,
      containerTagInScope: null,
      implicitRootScope: !1
    }, vi = {}, Oc = {
      animation: "animationDelay animationDirection animationDuration animationFillMode animationIterationCount animationName animationPlayState animationTimingFunction".split(
        " "
      ),
      background: "backgroundAttachment backgroundClip backgroundColor backgroundImage backgroundOrigin backgroundPositionX backgroundPositionY backgroundRepeat backgroundSize".split(
        " "
      ),
      backgroundPosition: ["backgroundPositionX", "backgroundPositionY"],
      border: "borderBottomColor borderBottomStyle borderBottomWidth borderImageOutset borderImageRepeat borderImageSlice borderImageSource borderImageWidth borderLeftColor borderLeftStyle borderLeftWidth borderRightColor borderRightStyle borderRightWidth borderTopColor borderTopStyle borderTopWidth".split(
        " "
      ),
      borderBlockEnd: [
        "borderBlockEndColor",
        "borderBlockEndStyle",
        "borderBlockEndWidth"
      ],
      borderBlockStart: [
        "borderBlockStartColor",
        "borderBlockStartStyle",
        "borderBlockStartWidth"
      ],
      borderBottom: [
        "borderBottomColor",
        "borderBottomStyle",
        "borderBottomWidth"
      ],
      borderColor: [
        "borderBottomColor",
        "borderLeftColor",
        "borderRightColor",
        "borderTopColor"
      ],
      borderImage: [
        "borderImageOutset",
        "borderImageRepeat",
        "borderImageSlice",
        "borderImageSource",
        "borderImageWidth"
      ],
      borderInlineEnd: [
        "borderInlineEndColor",
        "borderInlineEndStyle",
        "borderInlineEndWidth"
      ],
      borderInlineStart: [
        "borderInlineStartColor",
        "borderInlineStartStyle",
        "borderInlineStartWidth"
      ],
      borderLeft: ["borderLeftColor", "borderLeftStyle", "borderLeftWidth"],
      borderRadius: [
        "borderBottomLeftRadius",
        "borderBottomRightRadius",
        "borderTopLeftRadius",
        "borderTopRightRadius"
      ],
      borderRight: [
        "borderRightColor",
        "borderRightStyle",
        "borderRightWidth"
      ],
      borderStyle: [
        "borderBottomStyle",
        "borderLeftStyle",
        "borderRightStyle",
        "borderTopStyle"
      ],
      borderTop: ["borderTopColor", "borderTopStyle", "borderTopWidth"],
      borderWidth: [
        "borderBottomWidth",
        "borderLeftWidth",
        "borderRightWidth",
        "borderTopWidth"
      ],
      columnRule: ["columnRuleColor", "columnRuleStyle", "columnRuleWidth"],
      columns: ["columnCount", "columnWidth"],
      flex: ["flexBasis", "flexGrow", "flexShrink"],
      flexFlow: ["flexDirection", "flexWrap"],
      font: "fontFamily fontFeatureSettings fontKerning fontLanguageOverride fontSize fontSizeAdjust fontStretch fontStyle fontVariant fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition fontWeight lineHeight".split(
        " "
      ),
      fontVariant: "fontVariantAlternates fontVariantCaps fontVariantEastAsian fontVariantLigatures fontVariantNumeric fontVariantPosition".split(
        " "
      ),
      gap: ["columnGap", "rowGap"],
      grid: "gridAutoColumns gridAutoFlow gridAutoRows gridTemplateAreas gridTemplateColumns gridTemplateRows".split(
        " "
      ),
      gridArea: [
        "gridColumnEnd",
        "gridColumnStart",
        "gridRowEnd",
        "gridRowStart"
      ],
      gridColumn: ["gridColumnEnd", "gridColumnStart"],
      gridColumnGap: ["columnGap"],
      gridGap: ["columnGap", "rowGap"],
      gridRow: ["gridRowEnd", "gridRowStart"],
      gridRowGap: ["rowGap"],
      gridTemplate: [
        "gridTemplateAreas",
        "gridTemplateColumns",
        "gridTemplateRows"
      ],
      listStyle: ["listStyleImage", "listStylePosition", "listStyleType"],
      margin: ["marginBottom", "marginLeft", "marginRight", "marginTop"],
      marker: ["markerEnd", "markerMid", "markerStart"],
      mask: "maskClip maskComposite maskImage maskMode maskOrigin maskPositionX maskPositionY maskRepeat maskSize".split(
        " "
      ),
      maskPosition: ["maskPositionX", "maskPositionY"],
      outline: ["outlineColor", "outlineStyle", "outlineWidth"],
      overflow: ["overflowX", "overflowY"],
      padding: ["paddingBottom", "paddingLeft", "paddingRight", "paddingTop"],
      placeContent: ["alignContent", "justifyContent"],
      placeItems: ["alignItems", "justifyItems"],
      placeSelf: ["alignSelf", "justifySelf"],
      textDecoration: [
        "textDecorationColor",
        "textDecorationLine",
        "textDecorationStyle"
      ],
      textEmphasis: ["textEmphasisColor", "textEmphasisStyle"],
      transition: [
        "transitionDelay",
        "transitionDuration",
        "transitionProperty",
        "transitionTimingFunction"
      ],
      wordWrap: ["overflowWrap"]
    }, Eu = /([A-Z])/g, zg = /^ms-/, Ug = /^(?:webkit|moz|o)[A-Z]/, Us = /^-ms-/, Xp = /-(.)/g, zm = /;\s*$/, Tu = {}, kd = {}, Mg = !1, Ms = !1, Bs = new Set(
      "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
        " "
      )
    ), xs = "http://www.w3.org/1998/Math/MathML", qn = "http://www.w3.org/2000/svg", Um = /* @__PURE__ */ new Map([
      ["acceptCharset", "accept-charset"],
      ["htmlFor", "for"],
      ["httpEquiv", "http-equiv"],
      ["crossOrigin", "crossorigin"],
      ["accentHeight", "accent-height"],
      ["alignmentBaseline", "alignment-baseline"],
      ["arabicForm", "arabic-form"],
      ["baselineShift", "baseline-shift"],
      ["capHeight", "cap-height"],
      ["clipPath", "clip-path"],
      ["clipRule", "clip-rule"],
      ["colorInterpolation", "color-interpolation"],
      ["colorInterpolationFilters", "color-interpolation-filters"],
      ["colorProfile", "color-profile"],
      ["colorRendering", "color-rendering"],
      ["dominantBaseline", "dominant-baseline"],
      ["enableBackground", "enable-background"],
      ["fillOpacity", "fill-opacity"],
      ["fillRule", "fill-rule"],
      ["floodColor", "flood-color"],
      ["floodOpacity", "flood-opacity"],
      ["fontFamily", "font-family"],
      ["fontSize", "font-size"],
      ["fontSizeAdjust", "font-size-adjust"],
      ["fontStretch", "font-stretch"],
      ["fontStyle", "font-style"],
      ["fontVariant", "font-variant"],
      ["fontWeight", "font-weight"],
      ["glyphName", "glyph-name"],
      ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
      ["glyphOrientationVertical", "glyph-orientation-vertical"],
      ["horizAdvX", "horiz-adv-x"],
      ["horizOriginX", "horiz-origin-x"],
      ["imageRendering", "image-rendering"],
      ["letterSpacing", "letter-spacing"],
      ["lightingColor", "lighting-color"],
      ["markerEnd", "marker-end"],
      ["markerMid", "marker-mid"],
      ["markerStart", "marker-start"],
      ["overlinePosition", "overline-position"],
      ["overlineThickness", "overline-thickness"],
      ["paintOrder", "paint-order"],
      ["panose-1", "panose-1"],
      ["pointerEvents", "pointer-events"],
      ["renderingIntent", "rendering-intent"],
      ["shapeRendering", "shape-rendering"],
      ["stopColor", "stop-color"],
      ["stopOpacity", "stop-opacity"],
      ["strikethroughPosition", "strikethrough-position"],
      ["strikethroughThickness", "strikethrough-thickness"],
      ["strokeDasharray", "stroke-dasharray"],
      ["strokeDashoffset", "stroke-dashoffset"],
      ["strokeLinecap", "stroke-linecap"],
      ["strokeLinejoin", "stroke-linejoin"],
      ["strokeMiterlimit", "stroke-miterlimit"],
      ["strokeOpacity", "stroke-opacity"],
      ["strokeWidth", "stroke-width"],
      ["textAnchor", "text-anchor"],
      ["textDecoration", "text-decoration"],
      ["textRendering", "text-rendering"],
      ["transformOrigin", "transform-origin"],
      ["underlinePosition", "underline-position"],
      ["underlineThickness", "underline-thickness"],
      ["unicodeBidi", "unicode-bidi"],
      ["unicodeRange", "unicode-range"],
      ["unitsPerEm", "units-per-em"],
      ["vAlphabetic", "v-alphabetic"],
      ["vHanging", "v-hanging"],
      ["vIdeographic", "v-ideographic"],
      ["vMathematical", "v-mathematical"],
      ["vectorEffect", "vector-effect"],
      ["vertAdvY", "vert-adv-y"],
      ["vertOriginX", "vert-origin-x"],
      ["vertOriginY", "vert-origin-y"],
      ["wordSpacing", "word-spacing"],
      ["writingMode", "writing-mode"],
      ["xmlnsXlink", "xmlns:xlink"],
      ["xHeight", "x-height"]
    ]), zc = {
      accept: "accept",
      acceptcharset: "acceptCharset",
      "accept-charset": "acceptCharset",
      accesskey: "accessKey",
      action: "action",
      allowfullscreen: "allowFullScreen",
      alt: "alt",
      as: "as",
      async: "async",
      autocapitalize: "autoCapitalize",
      autocomplete: "autoComplete",
      autocorrect: "autoCorrect",
      autofocus: "autoFocus",
      autoplay: "autoPlay",
      autosave: "autoSave",
      capture: "capture",
      cellpadding: "cellPadding",
      cellspacing: "cellSpacing",
      challenge: "challenge",
      charset: "charSet",
      checked: "checked",
      children: "children",
      cite: "cite",
      class: "className",
      classid: "classID",
      classname: "className",
      cols: "cols",
      colspan: "colSpan",
      content: "content",
      contenteditable: "contentEditable",
      contextmenu: "contextMenu",
      controls: "controls",
      controlslist: "controlsList",
      coords: "coords",
      crossorigin: "crossOrigin",
      dangerouslysetinnerhtml: "dangerouslySetInnerHTML",
      data: "data",
      datetime: "dateTime",
      default: "default",
      defaultchecked: "defaultChecked",
      defaultvalue: "defaultValue",
      defer: "defer",
      dir: "dir",
      disabled: "disabled",
      disablepictureinpicture: "disablePictureInPicture",
      disableremoteplayback: "disableRemotePlayback",
      download: "download",
      draggable: "draggable",
      enctype: "encType",
      enterkeyhint: "enterKeyHint",
      fetchpriority: "fetchPriority",
      for: "htmlFor",
      form: "form",
      formmethod: "formMethod",
      formaction: "formAction",
      formenctype: "formEncType",
      formnovalidate: "formNoValidate",
      formtarget: "formTarget",
      frameborder: "frameBorder",
      headers: "headers",
      height: "height",
      hidden: "hidden",
      high: "high",
      href: "href",
      hreflang: "hrefLang",
      htmlfor: "htmlFor",
      httpequiv: "httpEquiv",
      "http-equiv": "httpEquiv",
      icon: "icon",
      id: "id",
      imagesizes: "imageSizes",
      imagesrcset: "imageSrcSet",
      inert: "inert",
      innerhtml: "innerHTML",
      inputmode: "inputMode",
      integrity: "integrity",
      is: "is",
      itemid: "itemID",
      itemprop: "itemProp",
      itemref: "itemRef",
      itemscope: "itemScope",
      itemtype: "itemType",
      keyparams: "keyParams",
      keytype: "keyType",
      kind: "kind",
      label: "label",
      lang: "lang",
      list: "list",
      loop: "loop",
      low: "low",
      manifest: "manifest",
      marginwidth: "marginWidth",
      marginheight: "marginHeight",
      max: "max",
      maxlength: "maxLength",
      media: "media",
      mediagroup: "mediaGroup",
      method: "method",
      min: "min",
      minlength: "minLength",
      multiple: "multiple",
      muted: "muted",
      name: "name",
      nomodule: "noModule",
      nonce: "nonce",
      novalidate: "noValidate",
      open: "open",
      optimum: "optimum",
      pattern: "pattern",
      placeholder: "placeholder",
      playsinline: "playsInline",
      poster: "poster",
      preload: "preload",
      profile: "profile",
      radiogroup: "radioGroup",
      readonly: "readOnly",
      referrerpolicy: "referrerPolicy",
      rel: "rel",
      required: "required",
      reversed: "reversed",
      role: "role",
      rows: "rows",
      rowspan: "rowSpan",
      sandbox: "sandbox",
      scope: "scope",
      scoped: "scoped",
      scrolling: "scrolling",
      seamless: "seamless",
      selected: "selected",
      shape: "shape",
      size: "size",
      sizes: "sizes",
      span: "span",
      spellcheck: "spellCheck",
      src: "src",
      srcdoc: "srcDoc",
      srclang: "srcLang",
      srcset: "srcSet",
      start: "start",
      step: "step",
      style: "style",
      summary: "summary",
      tabindex: "tabIndex",
      target: "target",
      title: "title",
      type: "type",
      usemap: "useMap",
      value: "value",
      width: "width",
      wmode: "wmode",
      wrap: "wrap",
      about: "about",
      accentheight: "accentHeight",
      "accent-height": "accentHeight",
      accumulate: "accumulate",
      additive: "additive",
      alignmentbaseline: "alignmentBaseline",
      "alignment-baseline": "alignmentBaseline",
      allowreorder: "allowReorder",
      alphabetic: "alphabetic",
      amplitude: "amplitude",
      arabicform: "arabicForm",
      "arabic-form": "arabicForm",
      ascent: "ascent",
      attributename: "attributeName",
      attributetype: "attributeType",
      autoreverse: "autoReverse",
      azimuth: "azimuth",
      basefrequency: "baseFrequency",
      baselineshift: "baselineShift",
      "baseline-shift": "baselineShift",
      baseprofile: "baseProfile",
      bbox: "bbox",
      begin: "begin",
      bias: "bias",
      by: "by",
      calcmode: "calcMode",
      capheight: "capHeight",
      "cap-height": "capHeight",
      clip: "clip",
      clippath: "clipPath",
      "clip-path": "clipPath",
      clippathunits: "clipPathUnits",
      cliprule: "clipRule",
      "clip-rule": "clipRule",
      color: "color",
      colorinterpolation: "colorInterpolation",
      "color-interpolation": "colorInterpolation",
      colorinterpolationfilters: "colorInterpolationFilters",
      "color-interpolation-filters": "colorInterpolationFilters",
      colorprofile: "colorProfile",
      "color-profile": "colorProfile",
      colorrendering: "colorRendering",
      "color-rendering": "colorRendering",
      contentscripttype: "contentScriptType",
      contentstyletype: "contentStyleType",
      cursor: "cursor",
      cx: "cx",
      cy: "cy",
      d: "d",
      datatype: "datatype",
      decelerate: "decelerate",
      descent: "descent",
      diffuseconstant: "diffuseConstant",
      direction: "direction",
      display: "display",
      divisor: "divisor",
      dominantbaseline: "dominantBaseline",
      "dominant-baseline": "dominantBaseline",
      dur: "dur",
      dx: "dx",
      dy: "dy",
      edgemode: "edgeMode",
      elevation: "elevation",
      enablebackground: "enableBackground",
      "enable-background": "enableBackground",
      end: "end",
      exponent: "exponent",
      externalresourcesrequired: "externalResourcesRequired",
      fill: "fill",
      fillopacity: "fillOpacity",
      "fill-opacity": "fillOpacity",
      fillrule: "fillRule",
      "fill-rule": "fillRule",
      filter: "filter",
      filterres: "filterRes",
      filterunits: "filterUnits",
      floodopacity: "floodOpacity",
      "flood-opacity": "floodOpacity",
      floodcolor: "floodColor",
      "flood-color": "floodColor",
      focusable: "focusable",
      fontfamily: "fontFamily",
      "font-family": "fontFamily",
      fontsize: "fontSize",
      "font-size": "fontSize",
      fontsizeadjust: "fontSizeAdjust",
      "font-size-adjust": "fontSizeAdjust",
      fontstretch: "fontStretch",
      "font-stretch": "fontStretch",
      fontstyle: "fontStyle",
      "font-style": "fontStyle",
      fontvariant: "fontVariant",
      "font-variant": "fontVariant",
      fontweight: "fontWeight",
      "font-weight": "fontWeight",
      format: "format",
      from: "from",
      fx: "fx",
      fy: "fy",
      g1: "g1",
      g2: "g2",
      glyphname: "glyphName",
      "glyph-name": "glyphName",
      glyphorientationhorizontal: "glyphOrientationHorizontal",
      "glyph-orientation-horizontal": "glyphOrientationHorizontal",
      glyphorientationvertical: "glyphOrientationVertical",
      "glyph-orientation-vertical": "glyphOrientationVertical",
      glyphref: "glyphRef",
      gradienttransform: "gradientTransform",
      gradientunits: "gradientUnits",
      hanging: "hanging",
      horizadvx: "horizAdvX",
      "horiz-adv-x": "horizAdvX",
      horizoriginx: "horizOriginX",
      "horiz-origin-x": "horizOriginX",
      ideographic: "ideographic",
      imagerendering: "imageRendering",
      "image-rendering": "imageRendering",
      in2: "in2",
      in: "in",
      inlist: "inlist",
      intercept: "intercept",
      k1: "k1",
      k2: "k2",
      k3: "k3",
      k4: "k4",
      k: "k",
      kernelmatrix: "kernelMatrix",
      kernelunitlength: "kernelUnitLength",
      kerning: "kerning",
      keypoints: "keyPoints",
      keysplines: "keySplines",
      keytimes: "keyTimes",
      lengthadjust: "lengthAdjust",
      letterspacing: "letterSpacing",
      "letter-spacing": "letterSpacing",
      lightingcolor: "lightingColor",
      "lighting-color": "lightingColor",
      limitingconeangle: "limitingConeAngle",
      local: "local",
      markerend: "markerEnd",
      "marker-end": "markerEnd",
      markerheight: "markerHeight",
      markermid: "markerMid",
      "marker-mid": "markerMid",
      markerstart: "markerStart",
      "marker-start": "markerStart",
      markerunits: "markerUnits",
      markerwidth: "markerWidth",
      mask: "mask",
      maskcontentunits: "maskContentUnits",
      maskunits: "maskUnits",
      mathematical: "mathematical",
      mode: "mode",
      numoctaves: "numOctaves",
      offset: "offset",
      opacity: "opacity",
      operator: "operator",
      order: "order",
      orient: "orient",
      orientation: "orientation",
      origin: "origin",
      overflow: "overflow",
      overlineposition: "overlinePosition",
      "overline-position": "overlinePosition",
      overlinethickness: "overlineThickness",
      "overline-thickness": "overlineThickness",
      paintorder: "paintOrder",
      "paint-order": "paintOrder",
      panose1: "panose1",
      "panose-1": "panose1",
      pathlength: "pathLength",
      patterncontentunits: "patternContentUnits",
      patterntransform: "patternTransform",
      patternunits: "patternUnits",
      pointerevents: "pointerEvents",
      "pointer-events": "pointerEvents",
      points: "points",
      pointsatx: "pointsAtX",
      pointsaty: "pointsAtY",
      pointsatz: "pointsAtZ",
      popover: "popover",
      popovertarget: "popoverTarget",
      popovertargetaction: "popoverTargetAction",
      prefix: "prefix",
      preservealpha: "preserveAlpha",
      preserveaspectratio: "preserveAspectRatio",
      primitiveunits: "primitiveUnits",
      property: "property",
      r: "r",
      radius: "radius",
      refx: "refX",
      refy: "refY",
      renderingintent: "renderingIntent",
      "rendering-intent": "renderingIntent",
      repeatcount: "repeatCount",
      repeatdur: "repeatDur",
      requiredextensions: "requiredExtensions",
      requiredfeatures: "requiredFeatures",
      resource: "resource",
      restart: "restart",
      result: "result",
      results: "results",
      rotate: "rotate",
      rx: "rx",
      ry: "ry",
      scale: "scale",
      security: "security",
      seed: "seed",
      shaperendering: "shapeRendering",
      "shape-rendering": "shapeRendering",
      slope: "slope",
      spacing: "spacing",
      specularconstant: "specularConstant",
      specularexponent: "specularExponent",
      speed: "speed",
      spreadmethod: "spreadMethod",
      startoffset: "startOffset",
      stddeviation: "stdDeviation",
      stemh: "stemh",
      stemv: "stemv",
      stitchtiles: "stitchTiles",
      stopcolor: "stopColor",
      "stop-color": "stopColor",
      stopopacity: "stopOpacity",
      "stop-opacity": "stopOpacity",
      strikethroughposition: "strikethroughPosition",
      "strikethrough-position": "strikethroughPosition",
      strikethroughthickness: "strikethroughThickness",
      "strikethrough-thickness": "strikethroughThickness",
      string: "string",
      stroke: "stroke",
      strokedasharray: "strokeDasharray",
      "stroke-dasharray": "strokeDasharray",
      strokedashoffset: "strokeDashoffset",
      "stroke-dashoffset": "strokeDashoffset",
      strokelinecap: "strokeLinecap",
      "stroke-linecap": "strokeLinecap",
      strokelinejoin: "strokeLinejoin",
      "stroke-linejoin": "strokeLinejoin",
      strokemiterlimit: "strokeMiterlimit",
      "stroke-miterlimit": "strokeMiterlimit",
      strokewidth: "strokeWidth",
      "stroke-width": "strokeWidth",
      strokeopacity: "strokeOpacity",
      "stroke-opacity": "strokeOpacity",
      suppresscontenteditablewarning: "suppressContentEditableWarning",
      suppresshydrationwarning: "suppressHydrationWarning",
      surfacescale: "surfaceScale",
      systemlanguage: "systemLanguage",
      tablevalues: "tableValues",
      targetx: "targetX",
      targety: "targetY",
      textanchor: "textAnchor",
      "text-anchor": "textAnchor",
      textdecoration: "textDecoration",
      "text-decoration": "textDecoration",
      textlength: "textLength",
      textrendering: "textRendering",
      "text-rendering": "textRendering",
      to: "to",
      transform: "transform",
      transformorigin: "transformOrigin",
      "transform-origin": "transformOrigin",
      typeof: "typeof",
      u1: "u1",
      u2: "u2",
      underlineposition: "underlinePosition",
      "underline-position": "underlinePosition",
      underlinethickness: "underlineThickness",
      "underline-thickness": "underlineThickness",
      unicode: "unicode",
      unicodebidi: "unicodeBidi",
      "unicode-bidi": "unicodeBidi",
      unicoderange: "unicodeRange",
      "unicode-range": "unicodeRange",
      unitsperem: "unitsPerEm",
      "units-per-em": "unitsPerEm",
      unselectable: "unselectable",
      valphabetic: "vAlphabetic",
      "v-alphabetic": "vAlphabetic",
      values: "values",
      vectoreffect: "vectorEffect",
      "vector-effect": "vectorEffect",
      version: "version",
      vertadvy: "vertAdvY",
      "vert-adv-y": "vertAdvY",
      vertoriginx: "vertOriginX",
      "vert-origin-x": "vertOriginX",
      vertoriginy: "vertOriginY",
      "vert-origin-y": "vertOriginY",
      vhanging: "vHanging",
      "v-hanging": "vHanging",
      videographic: "vIdeographic",
      "v-ideographic": "vIdeographic",
      viewbox: "viewBox",
      viewtarget: "viewTarget",
      visibility: "visibility",
      vmathematical: "vMathematical",
      "v-mathematical": "vMathematical",
      vocab: "vocab",
      widths: "widths",
      wordspacing: "wordSpacing",
      "word-spacing": "wordSpacing",
      writingmode: "writingMode",
      "writing-mode": "writingMode",
      x1: "x1",
      x2: "x2",
      x: "x",
      xchannelselector: "xChannelSelector",
      xheight: "xHeight",
      "x-height": "xHeight",
      xlinkactuate: "xlinkActuate",
      "xlink:actuate": "xlinkActuate",
      xlinkarcrole: "xlinkArcrole",
      "xlink:arcrole": "xlinkArcrole",
      xlinkhref: "xlinkHref",
      "xlink:href": "xlinkHref",
      xlinkrole: "xlinkRole",
      "xlink:role": "xlinkRole",
      xlinkshow: "xlinkShow",
      "xlink:show": "xlinkShow",
      xlinktitle: "xlinkTitle",
      "xlink:title": "xlinkTitle",
      xlinktype: "xlinkType",
      "xlink:type": "xlinkType",
      xmlbase: "xmlBase",
      "xml:base": "xmlBase",
      xmllang: "xmlLang",
      "xml:lang": "xmlLang",
      xmlns: "xmlns",
      "xml:space": "xmlSpace",
      xmlnsxlink: "xmlnsXlink",
      "xmlns:xlink": "xmlnsXlink",
      xmlspace: "xmlSpace",
      y1: "y1",
      y2: "y2",
      y: "y",
      ychannelselector: "yChannelSelector",
      z: "z",
      zoomandpan: "zoomAndPan"
    }, Mm = {
      "aria-current": 0,
      "aria-description": 0,
      "aria-details": 0,
      "aria-disabled": 0,
      "aria-hidden": 0,
      "aria-invalid": 0,
      "aria-keyshortcuts": 0,
      "aria-label": 0,
      "aria-roledescription": 0,
      "aria-autocomplete": 0,
      "aria-checked": 0,
      "aria-expanded": 0,
      "aria-haspopup": 0,
      "aria-level": 0,
      "aria-modal": 0,
      "aria-multiline": 0,
      "aria-multiselectable": 0,
      "aria-orientation": 0,
      "aria-placeholder": 0,
      "aria-pressed": 0,
      "aria-readonly": 0,
      "aria-required": 0,
      "aria-selected": 0,
      "aria-sort": 0,
      "aria-valuemax": 0,
      "aria-valuemin": 0,
      "aria-valuenow": 0,
      "aria-valuetext": 0,
      "aria-atomic": 0,
      "aria-busy": 0,
      "aria-live": 0,
      "aria-relevant": 0,
      "aria-dropeffect": 0,
      "aria-grabbed": 0,
      "aria-activedescendant": 0,
      "aria-colcount": 0,
      "aria-colindex": 0,
      "aria-colspan": 0,
      "aria-controls": 0,
      "aria-describedby": 0,
      "aria-errormessage": 0,
      "aria-flowto": 0,
      "aria-labelledby": 0,
      "aria-owns": 0,
      "aria-posinset": 0,
      "aria-rowcount": 0,
      "aria-rowindex": 0,
      "aria-rowspan": 0,
      "aria-setsize": 0
    }, Zo = {}, Kd = RegExp(
      "^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
    ), l = RegExp(
      "^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
    ), a = !1, u = {}, c = /^on./, s = /^on[^A-Z]/, r = RegExp(
      "^(aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
    ), y = RegExp(
      "^(aria)[A-Z][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
    ), g = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i, A = null, z = null, j = null, X = !1, M = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), x = !1;
    if (M)
      try {
        var me = {};
        Object.defineProperty(me, "passive", {
          get: function() {
            x = !0;
          }
        }), window.addEventListener("test", me, me), window.removeEventListener("test", me, me);
      } catch {
        x = !1;
      }
    var se = null, tt = null, D = null, E = {
      eventPhase: 0,
      bubbles: 0,
      cancelable: 0,
      timeStamp: function(e) {
        return e.timeStamp || Date.now();
      },
      defaultPrevented: 0,
      isTrusted: 0
    }, O = ml(E), G = ee({}, E, { view: 0, detail: 0 }), ne = ml(G), xe, fe, he, Lt = ee({}, G, {
      screenX: 0,
      screenY: 0,
      clientX: 0,
      clientY: 0,
      pageX: 0,
      pageY: 0,
      ctrlKey: 0,
      shiftKey: 0,
      altKey: 0,
      metaKey: 0,
      getModifierState: rr,
      button: 0,
      buttons: 0,
      relatedTarget: function(e) {
        return e.relatedTarget === void 0 ? e.fromElement === e.srcElement ? e.toElement : e.fromElement : e.relatedTarget;
      },
      movementX: function(e) {
        return "movementX" in e ? e.movementX : (e !== he && (he && e.type === "mousemove" ? (xe = e.screenX - he.screenX, fe = e.screenY - he.screenY) : fe = xe = 0, he = e), xe);
      },
      movementY: function(e) {
        return "movementY" in e ? e.movementY : fe;
      }
    }), Ke = ml(Lt), Ai = ee({}, Lt, { dataTransfer: 0 }), Jp = ml(Ai), mS = ee({}, G, { relatedTarget: 0 }), kp = ml(mS), gS = ee({}, E, {
      animationName: 0,
      elapsedTime: 0,
      pseudoElement: 0
    }), pS = ml(gS), vS = ee({}, E, {
      clipboardData: function(e) {
        return "clipboardData" in e ? e.clipboardData : window.clipboardData;
      }
    }), AS = ml(vS), SS = ee({}, E, { data: 0 }), Fv = ml(
      SS
    ), bS = Fv, ES = {
      Esc: "Escape",
      Spacebar: " ",
      Left: "ArrowLeft",
      Up: "ArrowUp",
      Right: "ArrowRight",
      Down: "ArrowDown",
      Del: "Delete",
      Win: "OS",
      Menu: "ContextMenu",
      Apps: "ContextMenu",
      Scroll: "ScrollLock",
      MozPrintableKey: "Unidentified"
    }, TS = {
      8: "Backspace",
      9: "Tab",
      12: "Clear",
      13: "Enter",
      16: "Shift",
      17: "Control",
      18: "Alt",
      19: "Pause",
      20: "CapsLock",
      27: "Escape",
      32: " ",
      33: "PageUp",
      34: "PageDown",
      35: "End",
      36: "Home",
      37: "ArrowLeft",
      38: "ArrowUp",
      39: "ArrowRight",
      40: "ArrowDown",
      45: "Insert",
      46: "Delete",
      112: "F1",
      113: "F2",
      114: "F3",
      115: "F4",
      116: "F5",
      117: "F6",
      118: "F7",
      119: "F8",
      120: "F9",
      121: "F10",
      122: "F11",
      123: "F12",
      144: "NumLock",
      145: "ScrollLock",
      224: "Meta"
    }, CS = {
      Alt: "altKey",
      Control: "ctrlKey",
      Meta: "metaKey",
      Shift: "shiftKey"
    }, RS = ee({}, G, {
      key: function(e) {
        if (e.key) {
          var t = ES[e.key] || e.key;
          if (t !== "Unidentified") return t;
        }
        return e.type === "keypress" ? (e = uo(e), e === 13 ? "Enter" : String.fromCharCode(e)) : e.type === "keydown" || e.type === "keyup" ? TS[e.keyCode] || "Unidentified" : "";
      },
      code: 0,
      location: 0,
      ctrlKey: 0,
      shiftKey: 0,
      altKey: 0,
      metaKey: 0,
      repeat: 0,
      locale: 0,
      getModifierState: rr,
      charCode: function(e) {
        return e.type === "keypress" ? uo(e) : 0;
      },
      keyCode: function(e) {
        return e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
      },
      which: function(e) {
        return e.type === "keypress" ? uo(e) : e.type === "keydown" || e.type === "keyup" ? e.keyCode : 0;
      }
    }), DS = ml(RS), OS = ee({}, Lt, {
      pointerId: 0,
      width: 0,
      height: 0,
      pressure: 0,
      tangentialPressure: 0,
      tiltX: 0,
      tiltY: 0,
      twist: 0,
      pointerType: 0,
      isPrimary: 0
    }), _v = ml(OS), zS = ee({}, G, {
      touches: 0,
      targetTouches: 0,
      changedTouches: 0,
      altKey: 0,
      metaKey: 0,
      ctrlKey: 0,
      shiftKey: 0,
      getModifierState: rr
    }), US = ml(zS), MS = ee({}, E, {
      propertyName: 0,
      elapsedTime: 0,
      pseudoElement: 0
    }), BS = ml(MS), xS = ee({}, Lt, {
      deltaX: function(e) {
        return "deltaX" in e ? e.deltaX : "wheelDeltaX" in e ? -e.wheelDeltaX : 0;
      },
      deltaY: function(e) {
        return "deltaY" in e ? e.deltaY : "wheelDeltaY" in e ? -e.wheelDeltaY : "wheelDelta" in e ? -e.wheelDelta : 0;
      },
      deltaZ: 0,
      deltaMode: 0
    }), HS = ml(xS), QS = ee({}, E, {
      newState: 0,
      oldState: 0
    }), NS = ml(QS), wS = [9, 13, 27, 32], Pv = 229, Kp = M && "CompositionEvent" in window, Bm = null;
    M && "documentMode" in document && (Bm = document.documentMode);
    var qS = M && "TextEvent" in window && !Bm, $v = M && (!Kp || Bm && 8 < Bm && 11 >= Bm), eA = 32, tA = String.fromCharCode(eA), lA = !1, Wd = !1, YS = {
      color: !0,
      date: !0,
      datetime: !0,
      "datetime-local": !0,
      email: !0,
      month: !0,
      number: !0,
      password: !0,
      range: !0,
      search: !0,
      tel: !0,
      text: !0,
      time: !0,
      url: !0,
      week: !0
    }, xm = null, Hm = null, aA = !1;
    M && (aA = qh("input") && (!document.documentMode || 9 < document.documentMode));
    var va = typeof Object.is == "function" ? Object.is : Mp, LS = M && "documentMode" in document && 11 >= document.documentMode, Id = null, Wp = null, Qm = null, Ip = !1, Fd = {
      animationend: tu("Animation", "AnimationEnd"),
      animationiteration: tu("Animation", "AnimationIteration"),
      animationstart: tu("Animation", "AnimationStart"),
      transitionrun: tu("Transition", "TransitionRun"),
      transitionstart: tu("Transition", "TransitionStart"),
      transitioncancel: tu("Transition", "TransitionCancel"),
      transitionend: tu("Transition", "TransitionEnd")
    }, Fp = {}, nA = {};
    M && (nA = document.createElement("div").style, "AnimationEvent" in window || (delete Fd.animationend.animation, delete Fd.animationiteration.animation, delete Fd.animationstart.animation), "TransitionEvent" in window || delete Fd.transitionend.transition);
    var uA = wi("animationend"), iA = wi("animationiteration"), cA = wi("animationstart"), jS = wi("transitionrun"), VS = wi("transitionstart"), GS = wi("transitioncancel"), oA = wi("transitionend"), fA = /* @__PURE__ */ new Map(), _p = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
      " "
    );
    _p.push("scrollEnd");
    var Pp = /* @__PURE__ */ new WeakMap(), Bg = 1, Uc = 2, Yn = [], _d = 0, $p = 0, Xo = {};
    Object.freeze(Xo);
    var Ln = null, Pd = null, Et = 0, ZS = 1, kl = 2, fa = 8, Cu = 16, sA = 64, XS = 32, rA = !1;
    try {
      var dA = Object.preventExtensions({});
    } catch {
      rA = !0;
    }
    var $d = [], eh = 0, xg = null, Hg = 0, jn = [], Vn = 0, Hs = null, Mc = 1, Bc = "", Aa = null, Gt = null, _e = !1, xc = !1, Gn = null, Qs = null, Si = !1, ev = Error(
      "Hydration Mismatch Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
    ), hA = 0;
    if (typeof performance == "object" && typeof performance.now == "function")
      var JS = performance, yA = function() {
        return JS.now();
      };
    else {
      var kS = Date;
      yA = function() {
        return kS.now();
      };
    }
    var tv = ft(null), lv = ft(null), mA = {}, Qg = null, th = null, lh = !1, KS = typeof AbortController < "u" ? AbortController : function() {
      var e = [], t = this.signal = {
        aborted: !1,
        addEventListener: function(n, i) {
          e.push(i);
        }
      };
      this.abort = function() {
        t.aborted = !0, e.forEach(function(n) {
          return n();
        });
      };
    }, WS = Ut.unstable_scheduleCallback, IS = Ut.unstable_NormalPriority, El = {
      $$typeof: an,
      Consumer: null,
      Provider: null,
      _currentValue: null,
      _currentValue2: null,
      _threadCount: 0,
      _currentRenderer: null,
      _currentRenderer2: null
    }, ah = Ut.unstable_now, gA = -0, Ng = -0, Sa = -1.1, Ns = -0, Hc = -1.1, wg = !1, qg = !1, Nm = null, av = 0, ws = 0, nh = null, pA = N.S;
    N.S = function(e, t) {
      typeof t == "object" && t !== null && typeof t.then == "function" && L0(e, t), pA !== null && pA(e, t);
    };
    var qs = ft(null), Ru = {
      recordUnsafeLifecycleWarnings: function() {
      },
      flushPendingUnsafeLifecycleWarnings: function() {
      },
      recordLegacyContextWarning: function() {
      },
      flushLegacyContextWarning: function() {
      },
      discardPendingWarnings: function() {
      }
    }, wm = [], qm = [], Ym = [], Lm = [], jm = [], Vm = [], Ys = /* @__PURE__ */ new Set();
    Ru.recordUnsafeLifecycleWarnings = function(e, t) {
      Ys.has(e.type) || (typeof t.componentWillMount == "function" && t.componentWillMount.__suppressDeprecationWarning !== !0 && wm.push(e), e.mode & fa && typeof t.UNSAFE_componentWillMount == "function" && qm.push(e), typeof t.componentWillReceiveProps == "function" && t.componentWillReceiveProps.__suppressDeprecationWarning !== !0 && Ym.push(e), e.mode & fa && typeof t.UNSAFE_componentWillReceiveProps == "function" && Lm.push(e), typeof t.componentWillUpdate == "function" && t.componentWillUpdate.__suppressDeprecationWarning !== !0 && jm.push(e), e.mode & fa && typeof t.UNSAFE_componentWillUpdate == "function" && Vm.push(e));
    }, Ru.flushPendingUnsafeLifecycleWarnings = function() {
      var e = /* @__PURE__ */ new Set();
      0 < wm.length && (wm.forEach(function(h) {
        e.add(
          te(h) || "Component"
        ), Ys.add(h.type);
      }), wm = []);
      var t = /* @__PURE__ */ new Set();
      0 < qm.length && (qm.forEach(function(h) {
        t.add(
          te(h) || "Component"
        ), Ys.add(h.type);
      }), qm = []);
      var n = /* @__PURE__ */ new Set();
      0 < Ym.length && (Ym.forEach(function(h) {
        n.add(
          te(h) || "Component"
        ), Ys.add(h.type);
      }), Ym = []);
      var i = /* @__PURE__ */ new Set();
      0 < Lm.length && (Lm.forEach(
        function(h) {
          i.add(
            te(h) || "Component"
          ), Ys.add(h.type);
        }
      ), Lm = []);
      var o = /* @__PURE__ */ new Set();
      0 < jm.length && (jm.forEach(function(h) {
        o.add(
          te(h) || "Component"
        ), Ys.add(h.type);
      }), jm = []);
      var f = /* @__PURE__ */ new Set();
      if (0 < Vm.length && (Vm.forEach(function(h) {
        f.add(
          te(h) || "Component"
        ), Ys.add(h.type);
      }), Vm = []), 0 < t.size) {
        var d = He(
          t
        );
        console.error(
          `Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.

Please update the following components: %s`,
          d
        );
      }
      0 < i.size && (d = He(
        i
      ), console.error(
        `Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state

Please update the following components: %s`,
        d
      )), 0 < f.size && (d = He(
        f
      ), console.error(
        `Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.

Please update the following components: %s`,
        d
      )), 0 < e.size && (d = He(e), console.warn(
        `componentWillMount has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move code with side effects to componentDidMount, and set initial state in the constructor.
* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
        d
      )), 0 < n.size && (d = He(
        n
      ), console.warn(
        `componentWillReceiveProps has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://react.dev/link/derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
        d
      )), 0 < o.size && (d = He(o), console.warn(
        `componentWillUpdate has been renamed, and is not recommended for use. See https://react.dev/link/unsafe-component-lifecycles for details.

* Move data fetching code or side effects to componentDidUpdate.
* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run \`npx react-codemod rename-unsafe-lifecycles\` in your project source folder.

Please update the following components: %s`,
        d
      ));
    };
    var Yg = /* @__PURE__ */ new Map(), vA = /* @__PURE__ */ new Set();
    Ru.recordLegacyContextWarning = function(e, t) {
      for (var n = null, i = e; i !== null; )
        i.mode & fa && (n = i), i = i.return;
      n === null ? console.error(
        "Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue."
      ) : !vA.has(e.type) && (i = Yg.get(n), e.type.contextTypes != null || e.type.childContextTypes != null || t !== null && typeof t.getChildContext == "function") && (i === void 0 && (i = [], Yg.set(n, i)), i.push(e));
    }, Ru.flushLegacyContextWarning = function() {
      Yg.forEach(function(e) {
        if (e.length !== 0) {
          var t = e[0], n = /* @__PURE__ */ new Set();
          e.forEach(function(o) {
            n.add(te(o) || "Component"), vA.add(o.type);
          });
          var i = He(n);
          ae(t, function() {
            console.error(
              `Legacy context API has been detected within a strict-mode tree.

The old API will be supported in all 16.x releases, but applications using it should migrate to the new version.

Please update the following components: %s

Learn more about this warning here: https://react.dev/link/legacy-context`,
              i
            );
          });
        }
      });
    }, Ru.discardPendingWarnings = function() {
      wm = [], qm = [], Ym = [], Lm = [], jm = [], Vm = [], Yg = /* @__PURE__ */ new Map();
    };
    var Gm = Error(
      "Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
    ), nv = Error(
      "Suspense Exception: This is not a real error, and should not leak into userspace. If you're seeing this, it's likely a bug in React."
    ), Lg = Error(
      "Suspense Exception: This is not a real error! It's an implementation detail of `useActionState` to interrupt the current render. You must either rethrow it immediately, or move the `useActionState` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary."
    ), jg = {
      then: function() {
        console.error(
          'Internal React error: A listener was unexpectedly attached to a "noop" thenable. This is a bug in React. Please file an issue.'
        );
      }
    }, uh = null, Vg = !1, AA = {
      "react-stack-bottom-frame": function(e, t, n) {
        var i = ia;
        ia = !0;
        try {
          return e(t, n);
        } finally {
          ia = i;
        }
      }
    }, uv = AA["react-stack-bottom-frame"].bind(AA), SA = {
      "react-stack-bottom-frame": function(e) {
        var t = ia;
        ia = !0;
        try {
          return e.render();
        } finally {
          ia = t;
        }
      }
    }, bA = SA["react-stack-bottom-frame"].bind(SA), EA = {
      "react-stack-bottom-frame": function(e, t) {
        try {
          t.componentDidMount();
        } catch (n) {
          Fe(e, e.return, n);
        }
      }
    }, iv = EA["react-stack-bottom-frame"].bind(EA), TA = {
      "react-stack-bottom-frame": function(e, t, n, i, o) {
        try {
          t.componentDidUpdate(n, i, o);
        } catch (f) {
          Fe(e, e.return, f);
        }
      }
    }, CA = TA["react-stack-bottom-frame"].bind(TA), RA = {
      "react-stack-bottom-frame": function(e, t) {
        var n = t.stack;
        e.componentDidCatch(t.value, {
          componentStack: n !== null ? n : ""
        });
      }
    }, FS = RA["react-stack-bottom-frame"].bind(RA), DA = {
      "react-stack-bottom-frame": function(e, t, n) {
        try {
          n.componentWillUnmount();
        } catch (i) {
          Fe(e, t, i);
        }
      }
    }, OA = DA["react-stack-bottom-frame"].bind(DA), zA = {
      "react-stack-bottom-frame": function(e) {
        var t = e.create;
        return e = e.inst, t = t(), e.destroy = t;
      }
    }, _S = zA["react-stack-bottom-frame"].bind(zA), UA = {
      "react-stack-bottom-frame": function(e, t, n) {
        try {
          n();
        } catch (i) {
          Fe(e, t, i);
        }
      }
    }, PS = UA["react-stack-bottom-frame"].bind(UA), MA = {
      "react-stack-bottom-frame": function(e) {
        var t = e._init;
        return t(e._payload);
      }
    }, Jo = MA["react-stack-bottom-frame"].bind(MA), ih = null, Zm = 0, we = null, cv, BA = cv = !1, xA = {}, HA = {}, QA = {};
    re = function(e, t, n) {
      if (n !== null && typeof n == "object" && n._store && (!n._store.validated && n.key == null || n._store.validated === 2)) {
        if (typeof n._store != "object")
          throw Error(
            "React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue."
          );
        n._store.validated = 1;
        var i = te(e), o = i || "null";
        if (!xA[o]) {
          xA[o] = !0, n = n._owner, e = e._debugOwner;
          var f = "";
          e && typeof e.tag == "number" && (o = te(e)) && (f = `

Check the render method of \`` + o + "`."), f || i && (f = `

Check the top-level render call using <` + i + ">.");
          var d = "";
          n != null && e !== n && (i = null, typeof n.tag == "number" ? i = te(n) : typeof n.name == "string" && (i = n.name), i && (d = " It was passed a child from " + i + ".")), ae(t, function() {
            console.error(
              'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
              f,
              d
            );
          });
        }
      }
    };
    var ch = Wi(!0), NA = Wi(!1), wA = 0, qA = 1, YA = 2, ov = 3, ko = !1, LA = !1, fv = null, sv = !1, oh = ft(null), Gg = ft(0), Zn = ft(null), bi = null, fh = 1, Xm = 2, Tl = ft(0), Xn = 0, Jn = 1, ba = 2, Kl = 4, Cl = 8, sh, jA = /* @__PURE__ */ new Set(), VA = /* @__PURE__ */ new Set(), rv = /* @__PURE__ */ new Set(), GA = /* @__PURE__ */ new Set(), Qc = 0, Re = null, gt = null, rl = null, Zg = !1, rh = !1, Ls = !1, Xg = 0, Jm = 0, Nc = null, $S = 0, eb = 25, w = null, kn = null, wc = -1, km = !1, Jg = {
      readContext: vt,
      use: $l,
      useCallback: De,
      useContext: De,
      useEffect: De,
      useImperativeHandle: De,
      useLayoutEffect: De,
      useInsertionEffect: De,
      useMemo: De,
      useReducer: De,
      useRef: De,
      useState: De,
      useDebugValue: De,
      useDeferredValue: De,
      useTransition: De,
      useSyncExternalStore: De,
      useId: De,
      useHostTransitionStatus: De,
      useFormState: De,
      useActionState: De,
      useOptimistic: De,
      useMemoCache: De,
      useCacheRefresh: De
    }, dv = null, ZA = null, hv = null, XA = null, Ei = null, Du = null, kg = null;
    dv = {
      readContext: function(e) {
        return vt(e);
      },
      use: $l,
      useCallback: function(e, t) {
        return w = "useCallback", Qe(), Wu(t), nc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", Qe(), vt(e);
      },
      useEffect: function(e, t) {
        return w = "useEffect", Qe(), Wu(t), Nf(e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", Qe(), Wu(n), Rr(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        w = "useInsertionEffect", Qe(), Wu(t), Pu(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", Qe(), Wu(t), $u(e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", Qe(), Wu(t);
        var n = N.H;
        N.H = Ei;
        try {
          return ic(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", Qe();
        var i = N.H;
        N.H = Ei;
        try {
          return Ka(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function(e) {
        return w = "useRef", Qe(), go(e);
      },
      useState: function(e) {
        w = "useState", Qe();
        var t = N.H;
        N.H = Ei;
        try {
          return Yt(e);
        } finally {
          N.H = t;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", Qe();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", Qe(), Dr(e, t);
      },
      useTransition: function() {
        return w = "useTransition", Qe(), wf();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", Qe(), so(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", Qe(), Mr();
      },
      useFormState: function(e, t) {
        return w = "useFormState", Qe(), ul(), _u(e, t);
      },
      useActionState: function(e, t) {
        return w = "useActionState", Qe(), _u(e, t);
      },
      useOptimistic: function(e) {
        return w = "useOptimistic", Qe(), Hf(e);
      },
      useHostTransitionStatus: Wa,
      useMemoCache: Vl,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", Qe(), Br();
      }
    }, ZA = {
      readContext: function(e) {
        return vt(e);
      },
      use: $l,
      useCallback: function(e, t) {
        return w = "useCallback", K(), nc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", K(), vt(e);
      },
      useEffect: function(e, t) {
        return w = "useEffect", K(), Nf(e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", K(), Rr(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        w = "useInsertionEffect", K(), Pu(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", K(), $u(e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", K();
        var n = N.H;
        N.H = Ei;
        try {
          return ic(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", K();
        var i = N.H;
        N.H = Ei;
        try {
          return Ka(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function(e) {
        return w = "useRef", K(), go(e);
      },
      useState: function(e) {
        w = "useState", K();
        var t = N.H;
        N.H = Ei;
        try {
          return Yt(e);
        } finally {
          N.H = t;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", K();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", K(), Dr(e, t);
      },
      useTransition: function() {
        return w = "useTransition", K(), wf();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", K(), so(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", K(), Mr();
      },
      useActionState: function(e, t) {
        return w = "useActionState", K(), _u(e, t);
      },
      useFormState: function(e, t) {
        return w = "useFormState", K(), ul(), _u(e, t);
      },
      useOptimistic: function(e) {
        return w = "useOptimistic", K(), Hf(e);
      },
      useHostTransitionStatus: Wa,
      useMemoCache: Vl,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", K(), Br();
      }
    }, hv = {
      readContext: function(e) {
        return vt(e);
      },
      use: $l,
      useCallback: function(e, t) {
        return w = "useCallback", K(), uc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", K(), vt(e);
      },
      useEffect: function(e, t) {
        w = "useEffect", K(), Al(2048, Cl, e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", K(), cu(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        return w = "useInsertionEffect", K(), Al(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", K(), Al(4, Kl, e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", K();
        var n = N.H;
        N.H = Du;
        try {
          return cc(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", K();
        var i = N.H;
        N.H = Du;
        try {
          return Iu(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function() {
        return w = "useRef", K(), $e().memoizedState;
      },
      useState: function() {
        w = "useState", K();
        var e = N.H;
        N.H = Du;
        try {
          return Iu(cl);
        } finally {
          N.H = e;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", K();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", K(), dy(e, t);
      },
      useTransition: function() {
        return w = "useTransition", K(), Ur();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", K(), Sn(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", K(), $e().memoizedState;
      },
      useFormState: function(e) {
        return w = "useFormState", K(), ul(), ac(e);
      },
      useActionState: function(e) {
        return w = "useActionState", K(), ac(e);
      },
      useOptimistic: function(e, t) {
        return w = "useOptimistic", K(), ro(e, t);
      },
      useHostTransitionStatus: Wa,
      useMemoCache: Vl,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", K(), $e().memoizedState;
      }
    }, XA = {
      readContext: function(e) {
        return vt(e);
      },
      use: $l,
      useCallback: function(e, t) {
        return w = "useCallback", K(), uc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", K(), vt(e);
      },
      useEffect: function(e, t) {
        w = "useEffect", K(), Al(2048, Cl, e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", K(), cu(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        return w = "useInsertionEffect", K(), Al(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", K(), Al(4, Kl, e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", K();
        var n = N.H;
        N.H = kg;
        try {
          return cc(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", K();
        var i = N.H;
        N.H = kg;
        try {
          return uu(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function() {
        return w = "useRef", K(), $e().memoizedState;
      },
      useState: function() {
        w = "useState", K();
        var e = N.H;
        N.H = kg;
        try {
          return uu(cl);
        } finally {
          N.H = e;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", K();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", K(), oc(e, t);
      },
      useTransition: function() {
        return w = "useTransition", K(), Ao();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", K(), Sn(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", K(), $e().memoizedState;
      },
      useFormState: function(e) {
        return w = "useFormState", K(), ul(), mo(e);
      },
      useActionState: function(e) {
        return w = "useActionState", K(), mo(e);
      },
      useOptimistic: function(e, t) {
        return w = "useOptimistic", K(), Cr(e, t);
      },
      useHostTransitionStatus: Wa,
      useMemoCache: Vl,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", K(), $e().memoizedState;
      }
    }, Ei = {
      readContext: function(e) {
        return Ee(), vt(e);
      },
      use: function(e) {
        return Z(), $l(e);
      },
      useCallback: function(e, t) {
        return w = "useCallback", Z(), Qe(), nc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", Z(), Qe(), vt(e);
      },
      useEffect: function(e, t) {
        return w = "useEffect", Z(), Qe(), Nf(e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", Z(), Qe(), Rr(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        w = "useInsertionEffect", Z(), Qe(), Pu(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", Z(), Qe(), $u(e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", Z(), Qe();
        var n = N.H;
        N.H = Ei;
        try {
          return ic(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", Z(), Qe();
        var i = N.H;
        N.H = Ei;
        try {
          return Ka(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function(e) {
        return w = "useRef", Z(), Qe(), go(e);
      },
      useState: function(e) {
        w = "useState", Z(), Qe();
        var t = N.H;
        N.H = Ei;
        try {
          return Yt(e);
        } finally {
          N.H = t;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", Z(), Qe();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", Z(), Qe(), Dr(e, t);
      },
      useTransition: function() {
        return w = "useTransition", Z(), Qe(), wf();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", Z(), Qe(), so(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", Z(), Qe(), Mr();
      },
      useFormState: function(e, t) {
        return w = "useFormState", Z(), Qe(), _u(e, t);
      },
      useActionState: function(e, t) {
        return w = "useActionState", Z(), Qe(), _u(e, t);
      },
      useOptimistic: function(e) {
        return w = "useOptimistic", Z(), Qe(), Hf(e);
      },
      useMemoCache: function(e) {
        return Z(), Vl(e);
      },
      useHostTransitionStatus: Wa,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", Qe(), Br();
      }
    }, Du = {
      readContext: function(e) {
        return Ee(), vt(e);
      },
      use: function(e) {
        return Z(), $l(e);
      },
      useCallback: function(e, t) {
        return w = "useCallback", Z(), K(), uc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", Z(), K(), vt(e);
      },
      useEffect: function(e, t) {
        w = "useEffect", Z(), K(), Al(2048, Cl, e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", Z(), K(), cu(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        return w = "useInsertionEffect", Z(), K(), Al(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", Z(), K(), Al(4, Kl, e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", Z(), K();
        var n = N.H;
        N.H = Du;
        try {
          return cc(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", Z(), K();
        var i = N.H;
        N.H = Du;
        try {
          return Iu(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function() {
        return w = "useRef", Z(), K(), $e().memoizedState;
      },
      useState: function() {
        w = "useState", Z(), K();
        var e = N.H;
        N.H = Du;
        try {
          return Iu(cl);
        } finally {
          N.H = e;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", Z(), K();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", Z(), K(), dy(e, t);
      },
      useTransition: function() {
        return w = "useTransition", Z(), K(), Ur();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", Z(), K(), Sn(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", Z(), K(), $e().memoizedState;
      },
      useFormState: function(e) {
        return w = "useFormState", Z(), K(), ac(e);
      },
      useActionState: function(e) {
        return w = "useActionState", Z(), K(), ac(e);
      },
      useOptimistic: function(e, t) {
        return w = "useOptimistic", Z(), K(), ro(e, t);
      },
      useMemoCache: function(e) {
        return Z(), Vl(e);
      },
      useHostTransitionStatus: Wa,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", K(), $e().memoizedState;
      }
    }, kg = {
      readContext: function(e) {
        return Ee(), vt(e);
      },
      use: function(e) {
        return Z(), $l(e);
      },
      useCallback: function(e, t) {
        return w = "useCallback", Z(), K(), uc(e, t);
      },
      useContext: function(e) {
        return w = "useContext", Z(), K(), vt(e);
      },
      useEffect: function(e, t) {
        w = "useEffect", Z(), K(), Al(2048, Cl, e, t);
      },
      useImperativeHandle: function(e, t, n) {
        return w = "useImperativeHandle", Z(), K(), cu(e, t, n);
      },
      useInsertionEffect: function(e, t) {
        return w = "useInsertionEffect", Z(), K(), Al(4, ba, e, t);
      },
      useLayoutEffect: function(e, t) {
        return w = "useLayoutEffect", Z(), K(), Al(4, Kl, e, t);
      },
      useMemo: function(e, t) {
        w = "useMemo", Z(), K();
        var n = N.H;
        N.H = Du;
        try {
          return cc(e, t);
        } finally {
          N.H = n;
        }
      },
      useReducer: function(e, t, n) {
        w = "useReducer", Z(), K();
        var i = N.H;
        N.H = Du;
        try {
          return uu(e, t, n);
        } finally {
          N.H = i;
        }
      },
      useRef: function() {
        return w = "useRef", Z(), K(), $e().memoizedState;
      },
      useState: function() {
        w = "useState", Z(), K();
        var e = N.H;
        N.H = Du;
        try {
          return uu(cl);
        } finally {
          N.H = e;
        }
      },
      useDebugValue: function() {
        w = "useDebugValue", Z(), K();
      },
      useDeferredValue: function(e, t) {
        return w = "useDeferredValue", Z(), K(), oc(e, t);
      },
      useTransition: function() {
        return w = "useTransition", Z(), K(), Ao();
      },
      useSyncExternalStore: function(e, t, n) {
        return w = "useSyncExternalStore", Z(), K(), Sn(
          e,
          t,
          n
        );
      },
      useId: function() {
        return w = "useId", Z(), K(), $e().memoizedState;
      },
      useFormState: function(e) {
        return w = "useFormState", Z(), K(), mo(e);
      },
      useActionState: function(e) {
        return w = "useActionState", Z(), K(), mo(e);
      },
      useOptimistic: function(e, t) {
        return w = "useOptimistic", Z(), K(), Cr(e, t);
      },
      useMemoCache: function(e) {
        return Z(), Vl(e);
      },
      useHostTransitionStatus: Wa,
      useCacheRefresh: function() {
        return w = "useCacheRefresh", K(), $e().memoizedState;
      }
    };
    var JA = {}, kA = /* @__PURE__ */ new Set(), KA = /* @__PURE__ */ new Set(), WA = /* @__PURE__ */ new Set(), IA = /* @__PURE__ */ new Set(), FA = /* @__PURE__ */ new Set(), _A = /* @__PURE__ */ new Set(), PA = /* @__PURE__ */ new Set(), $A = /* @__PURE__ */ new Set(), e1 = /* @__PURE__ */ new Set(), t1 = /* @__PURE__ */ new Set();
    Object.freeze(JA);
    var yv = {
      enqueueSetState: function(e, t, n) {
        e = e._reactInternals;
        var i = at(e), o = vn(i);
        o.payload = t, n != null && (Hr(n), o.callback = n), t = zl(e, o, i), t !== null && (wt(t, e, i), co(t, e, i)), Kc(e, i);
      },
      enqueueReplaceState: function(e, t, n) {
        e = e._reactInternals;
        var i = at(e), o = vn(i);
        o.tag = qA, o.payload = t, n != null && (Hr(n), o.callback = n), t = zl(e, o, i), t !== null && (wt(t, e, i), co(t, e, i)), Kc(e, i);
      },
      enqueueForceUpdate: function(e, t) {
        e = e._reactInternals;
        var n = at(e), i = vn(n);
        i.tag = YA, t != null && (Hr(t), i.callback = t), t = zl(e, i, n), t !== null && (wt(t, e, n), co(t, e, n)), P !== null && typeof P.markForceUpdateScheduled == "function" && P.markForceUpdateScheduled(e, n);
      }
    }, mv = typeof reportError == "function" ? reportError : function(e) {
      if (typeof window == "object" && typeof window.ErrorEvent == "function") {
        var t = new window.ErrorEvent("error", {
          bubbles: !0,
          cancelable: !0,
          message: typeof e == "object" && e !== null && typeof e.message == "string" ? String(e.message) : String(e),
          error: e
        });
        if (!window.dispatchEvent(t)) return;
      } else if (typeof process == "object" && typeof process.emit == "function") {
        process.emit("uncaughtException", e);
        return;
      }
      console.error(e);
    }, dh = null, gv = null, l1 = Error(
      "This is not a real error. It's an implementation detail of React's selective hydration feature. If this leaks into userspace, it's a bug in React. Please file an issue."
    ), wl = !1, a1 = {}, n1 = {}, u1 = {}, i1 = {}, hh = !1, c1 = {}, pv = {}, vv = {
      dehydrated: null,
      treeContext: null,
      retryLane: 0,
      hydrationErrors: null
    }, o1 = !1, f1 = null;
    f1 = /* @__PURE__ */ new Set();
    var qc = !1, ll = !1, Av = !1, s1 = typeof WeakSet == "function" ? WeakSet : Set, ql = null, yh = null, mh = null, dl = null, wa = !1, Ou = null, Km = 8192, tb = {
      getCacheForType: function(e) {
        var t = vt(El), n = t.data.get(e);
        return n === void 0 && (n = e(), t.data.set(e, n)), n;
      },
      getOwner: function() {
        return ua;
      }
    };
    if (typeof Symbol == "function" && Symbol.for) {
      var Wm = Symbol.for;
      Wm("selector.component"), Wm("selector.has_pseudo_class"), Wm("selector.role"), Wm("selector.test_id"), Wm("selector.text");
    }
    var lb = [], ab = typeof WeakMap == "function" ? WeakMap : Map, un = 0, Ea = 2, zu = 4, Yc = 0, Im = 1, gh = 2, Sv = 3, js = 4, Kg = 6, r1 = 5, ut = un, Tt = null, qe = null, je = 0, qa = 0, Fm = 1, Vs = 2, _m = 3, d1 = 4, bv = 5, ph = 6, Pm = 7, Ev = 8, Gs = 9, ot = qa, cn = null, Ko = !1, vh = !1, Tv = !1, Ti = 0, Zt = Yc, Wo = 0, Io = 0, Cv = 0, on = 0, Zs = 0, $m = null, Ta = null, Wg = !1, Rv = 0, h1 = 300, Ig = 1 / 0, y1 = 500, e0 = null, Fo = null, nb = 0, ub = 1, ib = 2, _o = 0, m1 = 1, g1 = 2, p1 = 3, cb = 4, Fg = 5, Rl = 0, Po = null, Ah = null, $o = 0, Dv = 0, Ov = null, v1 = null, ob = 50, t0 = 0, zv = null, Uv = !1, _g = !1, fb = 50, Xs = 0, l0 = null, Sh = !1, Pg = null, A1 = !1, S1 = /* @__PURE__ */ new Set(), sb = {}, $g = null, bh = null, Mv = !1, Bv = !1, ep = !1, xv = !1, Js = 0, Hv = {};
    (function() {
      for (var e = 0; e < _p.length; e++) {
        var t = _p[e], n = t.toLowerCase();
        t = t[0].toUpperCase() + t.slice(1), ja(n, "on" + t);
      }
      ja(uA, "onAnimationEnd"), ja(iA, "onAnimationIteration"), ja(cA, "onAnimationStart"), ja("dblclick", "onDoubleClick"), ja("focusin", "onFocus"), ja("focusout", "onBlur"), ja(jS, "onTransitionRun"), ja(VS, "onTransitionStart"), ja(GS, "onTransitionCancel"), ja(oA, "onTransitionEnd");
    })(), xu("onMouseEnter", ["mouseout", "mouseover"]), xu("onMouseLeave", ["mouseout", "mouseover"]), xu("onPointerEnter", ["pointerout", "pointerover"]), xu("onPointerLeave", ["pointerout", "pointerover"]), Bu(
      "onChange",
      "change click focusin focusout input keydown keyup selectionchange".split(
        " "
      )
    ), Bu(
      "onSelect",
      "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
        " "
      )
    ), Bu("onBeforeInput", [
      "compositionend",
      "keypress",
      "textInput",
      "paste"
    ]), Bu(
      "onCompositionEnd",
      "compositionend focusout keydown keypress keyup mousedown".split(" ")
    ), Bu(
      "onCompositionStart",
      "compositionstart focusout keydown keypress keyup mousedown".split(" ")
    ), Bu(
      "onCompositionUpdate",
      "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
    );
    var a0 = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
      " "
    ), Qv = new Set(
      "beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(a0)
    ), tp = "_reactListening" + Math.random().toString(36).slice(2), b1 = !1, E1 = !1, lp = !1, T1 = !1, ap = !1, np = !1, C1 = !1, up = {}, rb = /\r\n?/g, db = /\u0000|\uFFFD/g, ks = "http://www.w3.org/1999/xlink", Nv = "http://www.w3.org/XML/1998/namespace", hb = "javascript:throw new Error('React form unexpectedly submitted.')", yb = "suppressHydrationWarning", ip = "$", cp = "/$", Lc = "$?", n0 = "$!", mb = 1, gb = 2, pb = 4, wv = "F!", R1 = "F", D1 = "complete", vb = "style", jc = 0, Eh = 1, op = 2, qv = null, Yv = null, O1 = { dialog: !0, webview: !0 }, Lv = null, z1 = typeof setTimeout == "function" ? setTimeout : void 0, Ab = typeof clearTimeout == "function" ? clearTimeout : void 0, Ks = -1, U1 = typeof Promise == "function" ? Promise : void 0, Sb = typeof queueMicrotask == "function" ? queueMicrotask : typeof U1 < "u" ? function(e) {
      return U1.resolve(null).then(e).catch(mc);
    } : z1, jv = null, Ws = 0, u0 = 1, M1 = 2, B1 = 3, Kn = 4, Wn = /* @__PURE__ */ new Map(), x1 = /* @__PURE__ */ new Set(), Vc = Xe.d;
    Xe.d = {
      f: function() {
        var e = Vc.f(), t = ai();
        return e || t;
      },
      r: function(e) {
        var t = rn(e);
        t !== null && t.tag === 5 && t.type === "form" ? vo(t) : Vc.r(e);
      },
      D: function(e) {
        Vc.D(e), lm("dns-prefetch", e, null);
      },
      C: function(e, t) {
        Vc.C(e, t), lm("preconnect", e, t);
      },
      L: function(e, t, n) {
        Vc.L(e, t, n);
        var i = Th;
        if (i && e && t) {
          var o = 'link[rel="preload"][as="' + Il(t) + '"]';
          t === "image" && n && n.imageSrcSet ? (o += '[imagesrcset="' + Il(
            n.imageSrcSet
          ) + '"]', typeof n.imageSizes == "string" && (o += '[imagesizes="' + Il(
            n.imageSizes
          ) + '"]')) : o += '[href="' + Il(e) + '"]';
          var f = o;
          switch (t) {
            case "style":
              f = vc(e);
              break;
            case "script":
              f = Ho(e);
          }
          Wn.has(f) || (e = ee(
            {
              rel: "preload",
              href: t === "image" && n && n.imageSrcSet ? void 0 : e,
              as: t
            },
            n
          ), Wn.set(f, e), i.querySelector(o) !== null || t === "style" && i.querySelector(
            Ac(f)
          ) || t === "script" && i.querySelector(rs(f)) || (t = i.createElement("link"), fl(t, "link", e), kt(t), i.head.appendChild(t)));
        }
      },
      m: function(e, t) {
        Vc.m(e, t);
        var n = Th;
        if (n && e) {
          var i = t && typeof t.as == "string" ? t.as : "script", o = 'link[rel="modulepreload"][as="' + Il(i) + '"][href="' + Il(e) + '"]', f = o;
          switch (i) {
            case "audioworklet":
            case "paintworklet":
            case "serviceworker":
            case "sharedworker":
            case "worker":
            case "script":
              f = Ho(e);
          }
          if (!Wn.has(f) && (e = ee({ rel: "modulepreload", href: e }, t), Wn.set(f, e), n.querySelector(o) === null)) {
            switch (i) {
              case "audioworklet":
              case "paintworklet":
              case "serviceworker":
              case "sharedworker":
              case "worker":
              case "script":
                if (n.querySelector(rs(f)))
                  return;
            }
            i = n.createElement("link"), fl(i, "link", e), kt(i), n.head.appendChild(i);
          }
        }
      },
      X: function(e, t) {
        Vc.X(e, t);
        var n = Th;
        if (n && e) {
          var i = Pc(n).hoistableScripts, o = Ho(e), f = i.get(o);
          f || (f = n.querySelector(
            rs(o)
          ), f || (e = ee({ src: e, async: !0 }, t), (t = Wn.get(o)) && Qo(e, t), f = n.createElement("script"), kt(f), fl(f, "link", e), n.head.appendChild(f)), f = {
            type: "script",
            instance: f,
            count: 1,
            state: null
          }, i.set(o, f));
        }
      },
      S: function(e, t, n) {
        Vc.S(e, t, n);
        var i = Th;
        if (i && e) {
          var o = Pc(i).hoistableStyles, f = vc(e);
          t = t || "default";
          var d = o.get(f);
          if (!d) {
            var h = { loading: Ws, preload: null };
            if (d = i.querySelector(
              Ac(f)
            ))
              h.loading = u0 | Kn;
            else {
              e = ee(
                {
                  rel: "stylesheet",
                  href: e,
                  "data-precedence": t
                },
                n
              ), (n = Wn.get(f)) && si(e, n);
              var m = d = i.createElement("link");
              kt(m), fl(m, "link", e), m._p = new Promise(function(p, Q) {
                m.onload = p, m.onerror = Q;
              }), m.addEventListener("load", function() {
                h.loading |= u0;
              }), m.addEventListener("error", function() {
                h.loading |= M1;
              }), h.loading |= Kn, ds(d, t, i);
            }
            d = {
              type: "stylesheet",
              instance: d,
              count: 1,
              state: h
            }, o.set(f, d);
          }
        }
      },
      M: function(e, t) {
        Vc.M(e, t);
        var n = Th;
        if (n && e) {
          var i = Pc(n).hoistableScripts, o = Ho(e), f = i.get(o);
          f || (f = n.querySelector(
            rs(o)
          ), f || (e = ee({ src: e, async: !0, type: "module" }, t), (t = Wn.get(o)) && Qo(e, t), f = n.createElement("script"), kt(f), fl(f, "link", e), n.head.appendChild(f)), f = {
            type: "script",
            instance: f,
            count: 1,
            state: null
          }, i.set(o, f));
        }
      }
    };
    var Th = typeof document > "u" ? null : document, fp = null, i0 = null, Vv = null, sp = null, Is = Ag, c0 = {
      $$typeof: an,
      Provider: null,
      Consumer: null,
      _currentValue: Is,
      _currentValue2: Is,
      _threadCount: 0
    }, H1 = "%c%s%c ", Q1 = "background: #e6e6e6;background: light-dark(rgba(0,0,0,0.1), rgba(255,255,255,0.25));color: #000000;color: light-dark(#000000, #ffffff);border-radius: 2px", N1 = "", rp = " ", bb = Function.prototype.bind, w1 = !1, q1 = null, Y1 = null, L1 = null, j1 = null, V1 = null, G1 = null, Z1 = null, X1 = null, J1 = null;
    q1 = function(e, t, n, i) {
      t = V(e, t), t !== null && (n = C(t.memoizedState, n, 0, i), t.memoizedState = n, t.baseState = n, e.memoizedProps = ee({}, e.memoizedProps), n = Fl(e, 2), n !== null && wt(n, e, 2));
    }, Y1 = function(e, t, n) {
      t = V(e, t), t !== null && (n = k(t.memoizedState, n, 0), t.memoizedState = n, t.baseState = n, e.memoizedProps = ee({}, e.memoizedProps), n = Fl(e, 2), n !== null && wt(n, e, 2));
    }, L1 = function(e, t, n, i) {
      t = V(e, t), t !== null && (n = U(t.memoizedState, n, i), t.memoizedState = n, t.baseState = n, e.memoizedProps = ee({}, e.memoizedProps), n = Fl(e, 2), n !== null && wt(n, e, 2));
    }, j1 = function(e, t, n) {
      e.pendingProps = C(e.memoizedProps, t, 0, n), e.alternate && (e.alternate.pendingProps = e.pendingProps), t = Fl(e, 2), t !== null && wt(t, e, 2);
    }, V1 = function(e, t) {
      e.pendingProps = k(e.memoizedProps, t, 0), e.alternate && (e.alternate.pendingProps = e.pendingProps), t = Fl(e, 2), t !== null && wt(t, e, 2);
    }, G1 = function(e, t, n) {
      e.pendingProps = U(
        e.memoizedProps,
        t,
        n
      ), e.alternate && (e.alternate.pendingProps = e.pendingProps), t = Fl(e, 2), t !== null && wt(t, e, 2);
    }, Z1 = function(e) {
      var t = Fl(e, 2);
      t !== null && wt(t, e, 2);
    }, X1 = function(e) {
      le = e;
    }, J1 = function(e) {
      I = e;
    };
    var dp = !0, hp = null, Gv = !1, ef = null, tf = null, lf = null, o0 = /* @__PURE__ */ new Map(), f0 = /* @__PURE__ */ new Map(), af = [], Eb = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
      " "
    ), yp = null;
    if (Md.prototype.render = gs.prototype.render = function(e) {
      var t = this._internalRoot;
      if (t === null) throw Error("Cannot update an unmounted root.");
      var n = arguments;
      typeof n[1] == "function" ? console.error(
        "does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
      ) : de(n[1]) ? console.error(
        "You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."
      ) : typeof n[1] < "u" && console.error(
        "You passed a second argument to root.render(...) but it only accepts one argument."
      ), n = e;
      var i = t.current, o = at(i);
      sm(i, o, n, t, null, null);
    }, Md.prototype.unmount = gs.prototype.unmount = function() {
      var e = arguments;
      if (typeof e[0] == "function" && console.error(
        "does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."
      ), e = this._internalRoot, e !== null) {
        this._internalRoot = null;
        var t = e.containerInfo;
        (ut & (Ea | zu)) !== un && console.error(
          "Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."
        ), sm(e.current, 2, null, e, null, null), ai(), t[Na] = null;
      }
    }, Md.prototype.unstable_scheduleHydration = function(e) {
      if (e) {
        var t = _c();
        e = { blockedOn: null, target: e, priority: t };
        for (var n = 0; n < af.length && t !== 0 && t < af[n].priority; n++) ;
        af.splice(n, 0, e), n === 0 && mm(e);
      }
    }, function() {
      var e = gm.version;
      if (e !== "19.2.0-canary-3fbfb9ba-20250409")
        throw Error(
          `Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:
  - react:      ` + (e + `
  - react-dom:  19.2.0-canary-3fbfb9ba-20250409
Learn more: https://react.dev/warnings/version-mismatch`)
        );
    }(), typeof Map == "function" && Map.prototype != null && typeof Map.prototype.forEach == "function" && typeof Set == "function" && Set.prototype != null && typeof Set.prototype.clear == "function" && typeof Set.prototype.forEach == "function" || console.error(
      "React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://react.dev/link/react-polyfills"
    ), Xe.findDOMNode = function(e) {
      var t = e._reactInternals;
      if (t === void 0)
        throw typeof e.render == "function" ? Error("Unable to find node on an unmounted component.") : (e = Object.keys(e).join(","), Error(
          "Argument appears to not be a ReactComponent. Keys: " + e
        ));
      return e = Rt(t), e = e !== null ? qt(e) : null, e = e === null ? null : e.stateNode, e;
    }, !function() {
      var e = {
        bundleType: 1,
        version: "19.2.0-canary-3fbfb9ba-20250409",
        rendererPackageName: "react-dom",
        currentDispatcherRef: N,
        reconcilerVersion: "19.2.0-canary-3fbfb9ba-20250409"
      };
      return e.overrideHookState = q1, e.overrideHookStateDeletePath = Y1, e.overrideHookStateRenamePath = L1, e.overrideProps = j1, e.overridePropsDeletePath = V1, e.overridePropsRenamePath = G1, e.scheduleUpdate = Z1, e.setErrorHandler = X1, e.setSuspenseHandler = J1, e.scheduleRefresh = We, e.scheduleRoot = Je, e.setRefreshHandler = ht, e.getCurrentFiber = No, e.getLaneLabelMap = dm, e.injectProfilingHooks = Oh, v0(e);
    }() && M && window.top === window.self && (-1 < navigator.userAgent.indexOf("Chrome") && navigator.userAgent.indexOf("Edge") === -1 || -1 < navigator.userAgent.indexOf("Firefox"))) {
      var k1 = window.location.protocol;
      /^(https?|file):$/.test(k1) && console.info(
        "%cDownload the React DevTools for a better development experience: https://react.dev/link/react-devtools" + (k1 === "file:" ? `
You might need to use a local HTTP server (instead of file://): https://react.dev/link/react-devtools-faq` : ""),
        "font-weight:bold"
      );
    }
    y0.createRoot = function(e, t) {
      if (!de(e))
        throw Error("Target container is not a DOM element.");
      pg(e);
      var n = !1, i = "", o = Rn, f = Me, d = lt, h = null;
      return t != null && (t.hydrate ? console.warn(
        "hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."
      ) : typeof t == "object" && t !== null && t.$$typeof === ln && console.error(
        `You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:

  let root = createRoot(domContainer);
  root.render(<App />);`
      ), t.unstable_strictMode === !0 && (n = !0), t.identifierPrefix !== void 0 && (i = t.identifierPrefix), t.onUncaughtError !== void 0 && (o = t.onUncaughtError), t.onCaughtError !== void 0 && (f = t.onCaughtError), t.onRecoverableError !== void 0 && (d = t.onRecoverableError), t.unstable_transitionCallbacks !== void 0 && (h = t.unstable_transitionCallbacks)), t = rg(
        e,
        1,
        !1,
        null,
        null,
        n,
        i,
        o,
        f,
        d,
        h,
        null
      ), e[Na] = t.current, gd(e), new gs(t);
    }, y0.hydrateRoot = function(e, t, n) {
      if (!de(e))
        throw Error("Target container is not a DOM element.");
      pg(e), t === void 0 && console.error(
        "Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)"
      );
      var i = !1, o = "", f = Rn, d = Me, h = lt, m = null, p = null;
      return n != null && (n.unstable_strictMode === !0 && (i = !0), n.identifierPrefix !== void 0 && (o = n.identifierPrefix), n.onUncaughtError !== void 0 && (f = n.onUncaughtError), n.onCaughtError !== void 0 && (d = n.onCaughtError), n.onRecoverableError !== void 0 && (h = n.onRecoverableError), n.unstable_transitionCallbacks !== void 0 && (m = n.unstable_transitionCallbacks), n.formState !== void 0 && (p = n.formState)), t = rg(
        e,
        1,
        !0,
        t,
        n ?? null,
        i,
        o,
        f,
        d,
        h,
        m,
        p
      ), t.context = fm(null), n = t.current, i = at(n), i = Ic(i), o = vn(i), o.callback = null, zl(n, o, i), n = i, t.current.lanes = n, hl(t, n), ol(t), e[Na] = t.current, gd(e), new Md(t);
    }, y0.version = "19.2.0-canary-3fbfb9ba-20250409", typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
  }()), y0;
}
var tS;
function Lb() {
  if (tS) return gp.exports;
  tS = 1;
  function V() {
    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function")) {
      if (process.env.NODE_ENV !== "production")
        throw new Error("^_^");
      try {
        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(V);
      } catch (C) {
        console.error(C);
      }
    }
  }
  return process.env.NODE_ENV === "production" ? (V(), gp.exports = qb()) : gp.exports = Yb(), gp.exports;
}
var jb = Lb();
const Vb = /* @__PURE__ */ Db(jb), pt = class pt {
  /**
   * 打开IndexedDB数据库
   * @returns {Promise<IDBDatabase>} 数据库实例
   */
  static async openDB() {
    return pt.dbInstance ? pt.dbInstance : new Promise((C, U) => {
      const v = indexedDB.open(pt.dbName, pt.version);
      v.onupgradeneeded = (k) => {
        const I = k.target.result;
        I.objectStoreNames.contains(pt.storeName) || I.createObjectStore(pt.storeName, { keyPath: "id" });
      }, v.onsuccess = (k) => {
        pt.dbInstance = k.target.result, pt.dbInstance.onclose = () => {
          pt.dbInstance = null;
        }, C(pt.dbInstance);
      }, v.onerror = (k) => U(k.target.error);
    });
  }
  /**
   * 从本地IndexedDB读取配置
   * @param {string} configId 配置ID，默认为'default'
   * @returns {Promise<Object|null>} 配置数据
   */
  static async getLocalConfig(C = "default") {
    const U = await pt.openDB();
    return new Promise((v, k) => {
      const Z = U.transaction(pt.storeName, "readonly").objectStore(pt.storeName).get(C);
      Z.onsuccess = () => {
        var Ee;
        return v(((Ee = Z.result) == null ? void 0 : Ee.data) || null);
      }, Z.onerror = () => k(Z.target.error);
    });
  }
  /**
   * 保存配置到本地IndexedDB
   * @param {Object} configData 要保存的配置数据
   * @param {string} configId 配置ID，默认为'default'
   * @returns {Promise<boolean>} 保存成功返回true
   */
  static async saveLocalConfig(C, U = "default") {
    const v = await pt.openDB();
    return new Promise((k, I) => {
      const Ee = v.transaction(pt.storeName, "readwrite").objectStore(pt.storeName).put({ id: U, data: C });
      Ee.onsuccess = () => k(!0), Ee.onerror = () => I(Ee.target.error);
    });
  }
  /**
   * 从远程服务器读取配置
   * @param {string} configId 配置ID
   * @returns {Promise<Object>} 远程配置数据
   */
  static async getRemoteConfig(C) {
    if (!pt.remoteBaseUrl)
      throw new Error("远程服务器URL未配置");
    try {
      const U = await fetch(`${pt.remoteBaseUrl}/config/${C}`);
      if (!U.ok)
        throw new Error(`HTTP错误: ${U.status}`);
      return await U.json();
    } catch (U) {
      throw console.error(`读取远程配置[${C}]失败:`, U), new Error(`读取远程配置[${C}]失败: ${U.message}`);
    }
  }
  /**
   * 保存配置到远程服务器
   * @param {Object} configData 要保存的配置数据
   * @param {string} configId 配置ID
   * @returns {Promise<Object>} 服务器响应
   */
  static async saveRemoteConfig(C, U) {
    if (!pt.remoteBaseUrl)
      throw new Error("远程服务器URL未配置");
    try {
      const v = await fetch(`${pt.remoteBaseUrl}/config/${U}`, {
        method: "POST",
        headers: {
          "Content-Type": "application/json"
        },
        body: JSON.stringify(C)
      });
      if (!v.ok)
        throw new Error(`HTTP错误: ${v.status}`);
      return await v.json();
    } catch (v) {
      throw console.error(`保存远程配置[${U}]失败:`, v), new Error(`保存远程配置[${U}]失败: ${v.message}`);
    }
  }
  /**
   * 获取游戏配置（优先本地，本地不存在则从远程加载）
   * @param {string} configId 配置ID，默认为'default'
   * @returns {Promise<Object|null>} 配置数据
   */
  /**
   * 验证配置ID格式
   * @param {string} configId - 配置ID
   * @throws {TypeError} 如果configId不是字符串
   */
  static validateConfigId(C) {
    if (typeof C != "string")
      throw new TypeError("configId必须是字符串");
  }
  /**
   * 验证存储类型
   * @param {string} storageType - 存储类型
   * @param {string[]} allowedTypes - 允许的存储类型
   * @throws {TypeError} 如果storageType不在允许列表中
   */
  static validateStorageType(C, U) {
    if (!U.includes(C))
      throw new TypeError(`storageType必须是${U.map((v) => `"${v}"`).join("、")}`);
  }
  /**
   * 获取游戏配置（优先本地，本地不存在则从远程加载）
   * @param {string} configId 配置ID，默认为'default'
   * @param {'auto'|'local'|'remote'} storageType 存储类型，默认为'auto'
   * @returns {Promise<Object|null>} 配置数据
   */
  static async getGameConfig(C = "default", U = "auto") {
    if (this.validateConfigId(C), this.validateStorageType(U, ["auto", "local", "remote"]), U === "local" || U === "auto") {
      const k = await this.getLocalConfig(C);
      if (U === "local")
        return k;
      if (k)
        return k;
    }
    const v = await this.getRemoteConfig(C);
    return U === "auto" && await this.saveLocalConfig(v, C), v;
  }
  /**
   * 保存游戏配置到本地
   * @param {Object} configData 要保存的配置数据
   * @param {string} configId 配置ID，默认为'default'
   * @returns {Promise<boolean>} 保存成功返回true
   */
  /**
   * 保存游戏配置
   * @param {Object} configData 要保存的配置数据
   * @param {string} configId 配置ID，默认为'default'
   * @param {'local'|'remote'} storageType 存储类型，默认为'local'
   * @returns {Promise<boolean|Object>} 保存结果
   */
  static async saveGameConfig(C, U = "default", v = "local") {
    if (typeof C != "object" || C === null || Array.isArray(C))
      throw new TypeError("configData必须是对象");
    return this.validateConfigId(U), this.validateStorageType(v, ["local", "remote"]), v === "local" ? this.saveLocalConfig(C, U) : this.saveRemoteConfig(C, U);
  }
  /**
   * 设置远程服务器基础URL
   * @param {string} url 服务器URL
   */
  static setRemoteBaseUrl(C) {
    pt.remoteBaseUrl = C;
  }
};
Xt(pt, "remoteBaseUrl", "https://api.example.com"), Xt(pt, "dbName", "GamepadConfigDB"), Xt(pt, "storeName", "configs"), Xt(pt, "version", 1), Xt(pt, "dbInstance", null);
let p0 = pt;
const lS = {
  saveGameConfig: (V, C = "default", U = "local") => p0.saveGameConfig(V, C, U),
  getGameConfig: (V = "default", C = "auto") => p0.getGameConfig(V, C),
  setRemoteBaseUrl: (V) => p0.setRemoteBaseUrl(V)
}, In = 1, Fs = 2, _s = 3, Jv = 5, Gb = 0, aS = 1, Zb = 3, nS = 4, g0 = 8, sS = 0, rS = 1, dS = 9, hS = 2, Xb = 3, Jb = 4, kb = 5, Kb = 6, Wb = 7, Wv = 10, Iv = 11, Ib = 12, Fb = 13, _b = 14, Pb = 15, $b = {
  [sS]: "A",
  [rS]: "B",
  [hS]: "X",
  [Xb]: "Y",
  [Jb]: "LB",
  [kb]: "RB",
  [Kb]: "LT",
  [Wb]: "RT",
  [g0]: "Back",
  [dS]: "Start",
  [Wv]: "LS",
  [Iv]: "RS",
  [Ib]: "↑",
  [Fb]: "↓",
  [_b]: "←",
  [Pb]: "→"
}, kv = {
  NOT_CONFIGURED: "501",
  SUCCESS: "200",
  NOT_FOUND: "404"
}, Kv = {
  NOT_CONFIGURED: "未配置",
  SUCCESS: "success",
  NOT_FOUND: "未找到匹配的配置"
}, m0 = {
  DOWN: "down",
  UP: "up",
  MOVE: "move"
};
class e2 {
  constructor() {
    this.config = null, this._state = 0, this.leftStick = 0, this.rightStick = 0, this.lastButton = { press: !1, x: 0, y: 0, id: "" };
  }
  /**
   * 更新配置并设置状态为已配置
   * @param {Object} config - 游戏手柄配置对象
   */
  updateConfig(C) {
    this.config = C, this._state = 1;
  }
  /**
   * 获取当前状态
   * @returns {number} 0:未配置，1:已配置
   */
  get state() {
    return this._state;
  }
  /**
   * 创建方向键模拟摇杆事件
   * @param {number} buttonIndex - 按钮索引
   * @param {String} type - 事件类型(press/release)
   * @returns {Object} 模拟的摇杆事件
   */
  createDirectionKeyMockEvent(C, U) {
    var Ee, Ze;
    let v = [0, 0, 0, 0];
    const k = (Ze = (Ee = this.config) == null ? void 0 : Ee.buttons) == null ? void 0 : Ze.find(
      (re) => (re.type === "left_stick" || re.type === "right_stick") && re.mode === "move"
    );
    if (!k)
      return null;
    const I = (k == null ? void 0 : k.type) !== "right_stick", le = I ? 0 : 2, Z = I ? 1 : 3;
    switch (C) {
      case 12:
        v[Z] = U === "press" ? -1 : 0;
        break;
      case 13:
        v[Z] = U === "press" ? 1 : 0;
        break;
      case 14:
        v[le] = U === "press" ? -1 : 0;
        break;
      case 15:
        v[le] = U === "press" ? 1 : 0;
        break;
    }
    return { stickMoved: !0, axes: v };
  }
  /**
   * 处理按钮事件
   * @param {Object} gamepadEvent - 游戏手柄事件对象
   * @param {String} type - 游戏手柄事件类型
   * @returns {Object} 处理结果
   */
  handleButtonEvent(C, U) {
    var I, le;
    const v = C.index, k = (le = (I = this.config) == null ? void 0 : I.buttons) == null ? void 0 : le.find(
      (Z) => Z.keycode === v.toString() && Z.type === "click"
    );
    if (k)
      return this.lastButton = {
        press: U === "press",
        id: v,
        x: k.x,
        y: k.y
      }, [{
        id: v,
        x: k.x,
        y: k.y,
        action: U === "press" ? m0.DOWN : m0.UP
      }];
    if ([12, 13, 14, 15].includes(v)) {
      const Ee = this.createDirectionKeyMockEvent(v, U);
      return Ee && this.handleStickEvent(Ee);
    }
    return null;
  }
  /**
   * 处理摇杆事件
   * @param {Object} gamepadEvent - 游戏手柄事件对象
   * @returns {Object[]} 处理后的动作数组
   */
  handleStickEvent(C) {
    const U = [], v = C.axes, k = this.calStickAxisMovements(v[0], v[1]), I = this.calStickAxisMovements(v[2], v[3]);
    return k !== this.leftStick && (U.push(...this.processStickMovement(
      "left_stick",
      k,
      this.leftStick,
      v[0],
      v[1]
    )), this.leftStick = k), I !== this.rightStick && (U.push(...this.processStickMovement(
      "right_stick",
      I,
      this.rightStick,
      v[2],
      v[3]
    )), this.rightStick = I), U;
  }
  /**
   * 处理单个摇杆移动
   * @param {string} stickType - 摇杆类型(left_stick/right_stick)
   * @param {number} currentValue - 当前摇杆值
   * @param {number} previousValue - 上一次摇杆值
   * @param {number} x - X轴值
   * @param {number} y - Y轴值
   * @returns {Object[]} 处理后的动作数组
   */
  processStickMovement(C, U, v, k, I) {
    var ht, de;
    const le = [], Z = (de = (ht = this.config) == null ? void 0 : ht.buttons) == null ? void 0 : de.find((be) => be.type === C);
    if (!Z) return le;
    const { mode: Ee = "move", radius: Ze = 100 } = Z;
    let re, He, ye = C === "leftStick" ? Wv : Iv;
    if (Ee === "skill") {
      if (!this.lastButton.press)
        return le;
      ye = this.lastButton.id, re = this.lastButton.x, He = this.lastButton.y;
    } else
      re = Z.x, He = Z.y;
    const Je = re + k * Ze, We = He + I * Ze;
    return v === 0 && le.push({
      type: m0.DOWN,
      x: re,
      y: He,
      stick: C,
      id: ye
    }), Z.callback && typeof Z.callback == "function" && Z.callback(U), le.push({
      type: m0.MOVE,
      x: Je,
      y: We,
      stick: C,
      id: ye
    }), U === 0 && le.push({
      type: m0.UP,
      x: re,
      y: He,
      stick: C,
      id: ye
    }), le;
  }
  /**
   * 计算摇杆移动幅度
   * @param {number} x - X轴值
   * @param {number} y - Y轴值
   * @returns {number} 移动幅度
   */
  calStickAxisMovements(C, U) {
    return Math.sqrt(C * C + U * U);
  }
  /**
   * 事件适配器主方法
   * @param {Object} gamepadEvent - 游戏手柄事件对象
   * @returns {Object} 处理结果
   */
  eventAdapter(C, U) {
    if (this._state === 0)
      return {
        code: kv.NOT_CONFIGURED,
        message: Kv.NOT_CONFIGURED
      };
    let v = [];
    if (C.buttonName) {
      const k = this.handleButtonEvent(C, U);
      k && (v = [...v, ...k]);
    } else if (C.stickMoved) {
      const k = this.handleStickEvent(C);
      k.length > 0 && (v = [...v, ...k]);
    }
    return v.length > 0 ? {
      code: kv.SUCCESS,
      message: Kv.SUCCESS,
      actions: v
    } : {
      code: kv.NOT_FOUND,
      eventType: C.type || "unknown",
      message: Kv.NOT_FOUND
    };
  }
}
const uS = 7, iS = 0, vp = 20, cS = 0.1, t2 = 20, l2 = (V) => {
  const [C, U] = Xc({
    x: window.innerWidth / 2,
    y: window.innerHeight / 2
  }), [v, k] = Xc({
    width: window.innerWidth,
    height: window.innerHeight
  }), I = Ch(null), le = Ap.getInstance(), Z = Ch(null), Ee = Ch(C), Ze = Ch(v);
  Rh(() => (le.registerModeEventHandler(
    Fs,
    We
  ), () => {
    Z.current && clearInterval(Z.current);
  }), []), Rh(() => {
    I.current && (I.current.style.left = `${C.x}px`, I.current.style.top = `${C.y}px`), Ee.current = C;
  }, [C]), Rh(() => {
    Ze.current = v;
  }, [v]), Rh(() => {
    const de = I.current;
    if (!de) return;
    const be = de.parentElement;
    if (!be) return;
    const Ie = () => {
      const Rt = be.clientWidth, qt = be.clientHeight;
      k({ width: Rt, height: qt }), U({
        x: Rt / 2,
        y: qt / 2
      });
    };
    Ie();
    const it = new ResizeObserver((Rt) => {
      Ie();
    });
    return it.observe(be), () => {
      it.disconnect();
    };
  }, []);
  const re = Dh((de) => {
    const be = (Ie) => Math.round(Ie * 1e3) / 1e3;
    console.log("screenSize", v), U((Ie) => ({
      x: Math.max(
        0,
        Math.min(
          be(Ie.x + de.x * uS),
          Ze.current.width - vp / 2
        )
      ),
      y: Math.max(
        0,
        Math.min(
          be(Ie.y + de.y * uS),
          Ze.current.height - vp / 2
        )
      )
    }));
  }, [C]), He = Dh((de) => {
    const { x: be, y: Ie } = de;
    Z.current && clearInterval(Z.current), !(Math.abs(be) < cS && Math.abs(Ie) < cS) && (re({ x: be, y: Ie }), Z.current = setInterval(
      () => re({ x: be, y: Ie }),
      t2
    ));
  }, [re]), ye = () => {
    const de = ht();
    V.triggerTouchEvent("down", de);
  }, Je = () => {
    V.triggerTouchEvent("up", ht());
  }, We = Dh((de) => {
    if (de.eventType === "move" && de.detail && de.detail.axes) {
      const [be, Ie] = de.detail.axes;
      He({ x: be, y: Ie });
    } else de.eventType === "press" && de.detail.index === iS ? ye() : de.eventType === "release" && de.detail.index === iS && Je();
  }, [He, ye, Je]), ht = () => (console.log("createTouchEvent position:", C, Ee.current), {
    nativeEvent: {
      changedTouches: [{
        clientX: Ee.current.x,
        clientY: Ee.current.y,
        identifier: 1
      }]
    }
  });
  return /* @__PURE__ */ ve.jsx(
    "div",
    {
      ref: I,
      style: {
        position: "absolute",
        width: `${vp}px`,
        height: `${vp}px`,
        pointerEvents: "none",
        zIndex: 9999,
        transition: "transform 0.1s ease-out"
      },
      children: /* @__PURE__ */ ve.jsx(
        "svg",
        {
          className: "w-6 h-6",
          viewBox: "0 0 1024 1024",
          version: "1.1",
          xmlns: "http://www.w3.org/2000/svg",
          "p-id": "3049",
          width: "200",
          height: "200",
          children: /* @__PURE__ */ ve.jsx(
            "path",
            {
              d: "M57.782857 29.988571c7.314286-1.462857 13.897143-0.731429 20.48 2.194286L967.68 387.657143c7.314286 2.925714 13.897143 8.045714 17.554286 15.36 4.388571 6.582857 5.851429 14.628571 5.12 23.405714a37.302857 37.302857 0 0 1-10.971429 21.211429 30.72 30.72 0 0 1-20.48 10.24L512 517.851429l-56.32 439.588571a29.988571 29.988571 0 0 1-9.508571 20.48c-5.851429 5.851429-13.165714 9.508571-21.211429 10.971429a37.010286 37.010286 0 0 1-23.405714-5.12 32.841143 32.841143 0 0 1-15.36-17.554286L31.451429 78.994286A33.206857 33.206857 0 0 1 29.257143 58.514286 38.180571 38.180571 0 0 1 57.782857 29.988571z m343.04 777.508572L130.925714 131.657143l680.228572 272.091428-364.982857 49.005715-45.348572 354.742857z",
              fill: "#1296db",
              strokeWidth: 20,
              stroke: "#fff",
              "p-id": "3050"
            }
          )
        }
      )
    }
  );
}, a2 = "", yS = ({ keycode: V, type: C, mode: U, x: v, y: k, active: I = !1 }) => /* @__PURE__ */ ve.jsx("div", { className: "absolute bg-gray-500/30 text-white rounded-full w-10 h-10 flex items-center justify-center text-sm font-bold shadow-md pointer-events-none select-none", children: C === "click" ? /* @__PURE__ */ ve.jsx(
  "div",
  {
    className: `absolute w-12 h-12 rounded-full border-3 border-white/50 cursor-move shadow-lg flex items-center justify-center ${I ? "border-4 border-yellow-400" : "border-3 border-white/50"}`,
    children: V !== null ? /* @__PURE__ */ ve.jsx("span", { className: "text-white font-bold", children: $b[V] || V }) : /* @__PURE__ */ ve.jsx("div", { className: "border-1 border-white w-7 h-7 outline-none " })
  }
) : /* @__PURE__ */ ve.jsxs(
  "div",
  {
    className: `absolute ${U === "move" ? "w-20 h-20 md:w-24 md:h-24" : "w-12 h-12 md:w-16 md:h-16"} rounded-full border-0 cursor-move shadow-lg flex items-center justify-center ${I ? "border-4 border-yellow-400" : "border-0"}`,
    children: [
      /* @__PURE__ */ ve.jsx("img", { src: a2, className: " pointer-events-none" }),
      /* @__PURE__ */ ve.jsx("div", { className: "absolute -bottom-3 left-1/2 transform -translate-x-1/2 bg-black text-white text-xs px-1 w-full text-center rounded", children: U === "move" ? "移动" : U === "skill" ? "技能" : "视角" })
    ]
  }
) }), n2 = "", u2 = ({ config: V }) => /* @__PURE__ */ ve.jsxs("div", { className: "absolute inset-0 bg-gray-900/70 z-50", children: [
  /* @__PURE__ */ ve.jsxs("div", { className: "w-full h-full flex flex-col items-center justify-evenly", children: [
    /* @__PURE__ */ ve.jsx("div", { className: "flex justify-center relative w-2/5 mx-auto", children: /* @__PURE__ */ ve.jsx("img", { src: n2, className: "w-full h-full object-contain" }) }),
    /* @__PURE__ */ ve.jsxs("div", { className: "bg-gray-100/10 p-2 lg:p-4 rounded-lg", children: [
      /* @__PURE__ */ ve.jsx("h3", { className: "text-white text-sm lg:text-lg mb-2", children: "特殊功能" }),
      /* @__PURE__ */ ve.jsxs("ul", { className: "list-disc list-inside space-y-1 text-white text-xs lg:text-sm", children: [
        /* @__PURE__ */ ve.jsxs("li", { children: [
          /* @__PURE__ */ ve.jsx("strong", { children: "Back+Start键" }),
          ": 长按3秒切换手柄配置模式"
        ] }),
        /* @__PURE__ */ ve.jsxs("li", { children: [
          /* @__PURE__ */ ve.jsx("strong", { children: "Back+A键" }),
          ": 同时按下切换虚拟鼠标模式",
          /* @__PURE__ */ ve.jsx("p", { className: "text-xs text-gray-300", children: "鼠标模式通过左摇杆控制移动方向，A键点击触发点击事件" })
        ] }),
        /* @__PURE__ */ ve.jsxs("li", { children: [
          /* @__PURE__ */ ve.jsx("strong", { children: "Back+B键" }),
          ": 同时按下切换游戏手柄模式"
        ] }),
        /* @__PURE__ */ ve.jsxs("li", { children: [
          /* @__PURE__ */ ve.jsx("strong", { children: "Back+X键" }),
          ": 同时按下打开手柄操作说明"
        ] })
      ] })
    ] })
  ] }),
  /* @__PURE__ */ ve.jsx("div", { className: "absolute w-full h-full top-0 left-0 right-0 bottom-0 z-50", children: (V == null ? void 0 : V.buttons) && V.buttons.map(({ keycode: C, type: U, mode: v, x: k, y: I }, le) => /* @__PURE__ */ ve.jsx(
    "div",
    {
      className: "absolute cursor-move shadow-lg flex items-center justify-center",
      style: {
        left: `${k}px`,
        top: `${I}px`,
        transform: "translate(-50%, -50%)",
        touchAction: "none"
        // 防止移动端触摸滚动
      },
      children: /* @__PURE__ */ ve.jsx(yS, { keycode: C, type: U, mode: v })
    },
    le
  )) })
] }), Zc = class Zc {
  /**
   * 创建游戏手柄控制器实例
   * @constructor
   * @throws {Error} 如果尝试创建多个实例则抛出错误
   */
  constructor(C = null) {
    /**
     * 切换操作模式
     * @param {number} mode - 新模式
     * @param {Function} eventHandler - 模式对应的事件处理器
     * @param {boolean} saveToHistory - 是否保存当前模式到历史记录
     */
    Xt(this, "switchMode", (C, U, v = !0) => {
      if (![
        In,
        Fs,
        _s,
        Jv
      ].includes(C))
        throw new Error(
          `Invalid mode: ${C}. Must be one of ${[
            In,
            Fs,
            _s
          ]}`
        );
      this.parentContainer && (this.parentContainer.style.pointerEvents = C === In ? "none" : "auto"), this.mode !== C && (this.mode = C, U && (this.modeEventHandlers[C] = U), this.currentEventHandler = this.modeEventHandlers[C] || null, this.handlePointerComponent(C), this.handleConfiguratorComponent(C), this.handleGuideComponent(C));
    });
    /**
     * 保存游戏配置到本地
     * @param {string} configId - 配置ID
     * @returns {Promise<Object>} 保存的配置对象
     */
    Xt(this, "saveConfig", async (C) => {
      const U = this.configId;
      if (!U || typeof U != "string")
        throw new Error("Invalid configId: must be a non-empty string");
      this.updateConfig(C);
      try {
        return await lS.saveGameConfig(C, U), console.debug(`Config saved successfully for configId: ${U}`), this.config;
      } catch (v) {
        throw console.error("Failed to save game config:", v), v;
      }
    });
    /**
     * 加载游戏配置
     * @param {string} configId - 配置ID
     * @returns {Promise<Object>} 配置对象
     */
    Xt(this, "loadGameConfig", async (C) => {
      var U;
      if (!C || typeof C != "string")
        throw new Error("Invalid configId: must be a non-empty string");
      try {
        let v = await lS.getGameConfig(C) || {};
        return v = this.updateConfig(v), this.configId = C, (U = this.g2t) == null || U.updateConfig(v), v;
      } catch (v) {
        throw console.error("Failed to load game config:", v), v;
      }
    });
    /**
     * 处理游戏手柄连接事件
     * @param {Object} e - 事件对象
     */
    Xt(this, "handleGamepadConnect", (C) => {
      var k;
      const U = (C.gamepad.name || C.gamepad.id || "").toLowerCase();
      U.includes("xbox") || U.includes("microsoft") ? (this.isSupportedGamepad = !0, (k = this.currentEventHandler) == null || k.call(this, {
        gamepad: C.gamepad,
        eventType: "connect"
      }), console.debug("Xbox游戏手柄已连接")) : (this.isSupportedGamepad = !1, this.showUnsupportedGamepadMessage(), console.warn(`不支持的游戏手柄: ${C.gamepad.name}`));
    });
    /**
     * 处理游戏手柄按钮按下事件
     * @param {Object} e - 事件对象
     */
    /**
     * 处理游戏手柄事件数据
     * @param {Object} e - 原始事件对象
     * @param {string} eventType - 事件类型(press/release/move)
     * @returns {Object} 处理后的事件数据
     */
    Xt(this, "processGamepadEvent", (C, U) => !C || !C.detail ? (console.warn(
      `[GamepadController] Invalid event data for type: ${U}`
    ), null) : this.mode === In && this.g2t ? this.g2t.eventAdapter(C.detail, U) : { code: "200", detail: C.detail });
    /**
     * 处理游戏手柄按钮按下事件
     * @param {Object} e - 事件对象
     */
    Xt(this, "handleGamepadButtonPress", (C) => {
      var k;
      const U = this.processGamepadEvent(C, "press");
      if (!U) return;
      if ((k = this.currentEventHandler) == null || k.call(this, {
        ...U,
        eventType: "press"
      }), this.mode === In && U.actions)
        for (let I = 0; I < U.actions.length; I++) {
          const le = U.actions[I], Z = this.createTouchEvent(le);
          this.triggerTouchEvent("down", Z);
        }
      const { index: v } = C.detail;
      this.buttonStates[v] = { pressed: !0, startTime: Date.now() }, this.isSupportedGamepad && this.checkCombinations();
    });
    /**
     * 处理游戏手柄按钮释放事件
     * @param {Object} e - 事件对象
     */
    /**
     * 处理游戏手柄按钮释放事件
     * @param {Object} e - 事件对象
     */
    Xt(this, "handleGamepadButtonRelease", (C) => {
      var k;
      const U = this.processGamepadEvent(C, "release");
      if (!U) return;
      if ((k = this.currentEventHandler) == null || k.call(this, {
        ...U,
        eventType: "release"
      }), this.mode === In && U.actions)
        for (let I = 0; I < U.actions.length; I++) {
          const le = U.actions[I], Z = this.createTouchEvent(le);
          this.triggerTouchEvent("up", Z);
        }
      const { index: v } = C.detail;
      this.buttonStates[v] = { pressed: !1, startTime: null }, this.clearCombinationTimers();
    });
    /**
     * 处理游戏手柄轴移动事件
     * @param {Object} e - 事件对象
     */
    /**
     * 处理游戏手柄轴移动事件
     * @param {Object} e - 事件对象
     */
    Xt(this, "handleGamepadAxisMove", (C) => {
      var v;
      const U = this.processGamepadEvent(C, "move");
      if (U.code != 200) return console.warn("游戏手柄轴移动事件处理失败");
      if ((v = this.currentEventHandler) == null || v.call(this, {
        ...U,
        eventType: "move"
      }), this.mode === In)
        for (let k = 0; k < U.actions.length; k++) {
          const I = U.actions[k], le = this.createTouchEvent(I);
          this.triggerTouchEvent(I.type, le);
        }
    });
    /**
     * 处理游戏手柄断开连接事件
     */
    Xt(this, "handleGamepadDisconnect", () => {
      this.state = Zb, this.isSupportedGamepad = !1, this.clearCombinationTimers();
    });
    Xt(this, "showUnsupportedGamepadMessage", () => {
      const C = document.createElement("div");
      C.className = "fixed top-4 left-1/2 transform -translate-x-1/2 bg-red-500 text-white px-4 py-2 rounded shadow-lg z-50", C.textContent = "不支持的手柄类型，请使用Xbox控制器", document.body.appendChild(C), setTimeout(() => {
        C.remove();
      }, 5e3);
    });
    /**
     * 检查所有已注册的组合键
     */
    Xt(this, "checkCombinations", () => {
      Object.entries(this.functionButtons).forEach(([C, U]) => {
        this.checkSingleCombination(C, U);
      });
    });
    /**
     * 检查单个组合键
     * @param {string} combinationId - 组合标识
     * @param {Object} config - 组合配置
     */
    Xt(this, "checkSingleCombination", (C, U) => {
      const { buttons: v, callback: k, pressTime: I, triggered: le } = U, Z = v.every(
        (Ee) => {
          var Ze;
          return (Ze = this.buttonStates[Ee]) == null ? void 0 : Ze.pressed;
        }
      );
      Z && !le ? this.handleCombinationActive(
        C,
        U,
        v,
        k,
        I
      ) : !Z && le && this.resetCombination(U);
    });
    /**
     * 处理激活的组合键
     */
    Xt(this, "handleCombinationActive", (C, U, v, k, I) => {
      v.every(
        (Z) => Date.now() - this.buttonStates[Z].startTime >= I
      ) ? (k(), U.triggered = !0, this.combinationTimers[C] = setTimeout(() => {
        U.triggered = !1;
      }, 1e3)) : this.combinationTimers[C] = setTimeout(() => {
        this.checkCombinations();
      }, 100);
    });
    /**
     * 重置组合键状态
     */
    Xt(this, "resetCombination", (C) => {
      C.triggered = !1;
    });
    /**
     * 清除所有组合键定时器
     */
    Xt(this, "clearCombinationTimers", () => {
      Object.values(this.combinationTimers).forEach(
        (C) => clearTimeout(C)
      ), this.combinationTimers = {};
    });
    if (Zc.instance)
      throw new Error(
        "Use GamepadController.getInstance() to get the single instance."
      );
    Zc.instance = this, this.config = { buttons: [] }, this.configId = "", this.state = Gb, this.mode = In, this.g2t = new e2(), this.eventSubscriptions = {}, this.modeEventHandlers = {}, this.currentEventHandler = null, this.functionButtons = {}, this.buttonStates = {}, this.combinationTimers = {}, this.touchEventHandlers = /* @__PURE__ */ new Map(), this.pointerRoot = null, this.pointerContainer = null, this.configuratorRoot = null, this.configuratorContainer = null, this.guideRoot = null, this.guideContainer = null, this.isSupportedGamepad = !1, this.parentContainer = C || document.body, import("./index-BOloejWv.js").then(() => {
      this.start();
    });
  }
  /**
   * 处理指引组件的渲染与清理
   * @param {number} mode - 当前模式
   */
  handleGuideComponent(C) {
    this.renderComponent(
      C,
      Jv,
      u2,
      "guideContainer",
      "guideRoot"
    );
  }
  /**
   * 获取单例实例
   * @returns {GamepadController} 控制器实例
   */
  static getInstance(C = null) {
    return Zc.instance || (Zc.instance = new Zc(C)), Zc.instance;
  }
  /**
   * 启动控制器并初始化
   */
  start() {
    this.state !== aS && (joypad.set({ axisMovementThreshold: 1e-3 }), this.setupEventListeners(), this.registerFunctionCombinations(), this.parentContainer && (this.parentContainer.style.pointerEvents = this.mode === In ? "none" : "auto"), this.state = aS);
  }
  /**
   * 设置事件监听器
   */
  setupEventListeners() {
    this.eventSubscriptions.connect = joypad.on(
      "connect",
      this.handleGamepadConnect
    ), this.eventSubscriptions.buttonPress = joypad.on(
      "button_press",
      this.handleGamepadButtonPress
    ), this.eventSubscriptions.buttonRelease = joypad.on(
      "button_release",
      this.handleGamepadButtonRelease
    ), this.eventSubscriptions.axisMove = joypad.on(
      "axis_move",
      this.handleGamepadAxisMove
    ), this.eventSubscriptions.disconnect = joypad.on(
      "disconnect",
      this.handleGamepadDisconnect
    );
  }
  /**
   * 注册所有功能组合键
   */
  registerFunctionCombinations() {
    this.registerVirtualMouseCombination(), this.registerConfiguratorCombination(), this.registerReturnGamepadCombination(), this.registerShowGuideCombination();
  }
  /**
   * 通用组件渲染与清理方法
   * @param {number} mode - 当前模式
   * @param {number} targetMode - 目标激活模式
   * @param {string} componentPath - 组件路径
   * @param {string} containerProp - 容器属性名
   * @param {string} rootProp - 根实例属性名
   */
  /**
   * 通用组件渲染与清理方法
   * @async
   * @param {number} mode - 当前模式
   * @param {number} targetMode - 目标激活模式
   * @param {string} componentPath - 组件路径
   * @param {string} containerProp - 容器属性名
   * @param {string} rootProp - 根实例属性名
   * @returns {Promise<void>} - Promise对象
   */
  async renderComponent(C, U, v, k, I) {
    if (C === U)
      try {
        const le = document.createElement("div");
        this.parentContainer.appendChild(le), le.className = "w-full h-full", this[k] = le, this[I] = Vb.createRoot(le), this[I].render(
          Sp.createElement(v, {
            triggerTouchEvent: this.triggerTouchEvent.bind(this),
            config: this.config,
            saveGameConfig: this.saveConfig.bind(this)
          })
        );
      } catch (le) {
        console.error(
          `[GamepadController] Failed to load component ${componentPath}:`,
          le
        ), container && container.parentNode && container.parentNode.removeChild(container);
      }
    else this[I] && (this[I].unmount(), this[k].remove(), this[I] = null, this[k] = null);
  }
  /**
   * 处理虚拟指针组件的渲染与清理
   * @param {number} mode - 当前模式
   */
  handlePointerComponent(C) {
    this.renderComponent(
      C,
      Fs,
      l2,
      "pointerContainer",
      "pointerRoot"
    );
  }
  /**
   * 处理配置器组件的渲染与清理
   * @param {number} mode - 当前模式
   */
  handleConfiguratorComponent(C) {
    this.renderComponent(
      C,
      _s,
      f2,
      "configuratorContainer",
      "configuratorRoot"
    );
  }
  /**
   * 更新配置
   * @param {Object} config - 新配置对象
   */
  updateConfig(C) {
    if (!C || typeof C != "object")
      throw new Error("Invalid config: must be an object");
    if (this.config = { ...this.config, ...C }, this.config.buttons && this.config.resolution) {
      const { width: U, height: v } = this.config.resolution, k = this.parentContainer.clientWidth;
      if (U > 0 && v > 0) {
        const I = k / U;
        this.config.buttons = this.config.buttons.map((le) => ({
          ...le,
          x: le.x * I,
          y: le.y * I
        }));
      } else
        console.warn("Invalid saved resolution, cannot scale buttons");
    }
    return this.config;
  }
  /**
   * 注册模式事件处理器
   * @param {number} mode - 模式
   * @param {Function} handler - 事件处理函数
   */
  registerModeEventHandler(C, U) {
    if (![In, Fs, _s].includes(C))
      throw new Error(
        `Invalid mode: ${C}. Must be one of ${[
          In,
          Fs,
          _s
        ]}`
      );
    if (typeof U != "function")
      throw new Error("Invalid handler: must be a function");
    this.modeEventHandlers[C] = U, this.mode === C && (this.currentEventHandler = U);
  }
  /**
   * 注册功能键组合
   * @param {string} combinationId - 组合标识
   * @param {number[]} buttons - 按钮索引数组
   * @param {Function} callback - 触发回调
   * @param {number} pressTime - 长按时间(ms)，默认3000ms
   */
  registerFunctionButton(C, U = [], v, k = 3e3) {
    if (!C || typeof C != "string")
      throw new Error("Invalid combinationId: must be a non-empty string");
    if (!Array.isArray(U) || U.some((I) => typeof I != "number"))
      throw new Error("Invalid buttons: must be an array of numbers");
    if (typeof v != "function")
      throw new Error("Invalid callback: must be a function");
    if (typeof k != "number" || k < 0)
      throw new Error("Invalid pressTime: must be a non-negative number");
    this.functionButtons[C] = {
      buttons: U,
      callback: v,
      pressTime: k,
      triggered: !1
    };
  }
  /**
   * 注册虚拟鼠标模式组合键 (Back + A 长按)
   */
  registerVirtualMouseCombination() {
    this.registerFunctionButton(
      "virtual_mouse_mode",
      [g0, sS],
      () => {
        this.switchMode(Fs), console.debug("虚拟鼠标模式已激活");
      },
      100
    );
  }
  /**
   * 注册配置模式组合键 (Back + Start 长按)
   */
  registerConfiguratorCombination() {
    this.registerFunctionButton(
      "configurator_mode",
      [g0, dS],
      () => {
        this.switchMode(_s), console.debug("虚拟鼠标模式已激活");
      },
      2e3
    );
  }
  /**
   * 注册返回游戏手柄模式组合键 (Back + B 长按)
   */
  registerReturnGamepadCombination() {
    this.registerFunctionButton(
      "return_gamepad_mode",
      [g0, rS],
      () => {
        this.switchMode(In), console.debug("已返回到游戏手柄模式");
      },
      100
    );
  }
  registerShowGuideCombination() {
    this.registerFunctionButton(
      "show_guide",
      [g0, hS],
      () => {
        this.switchMode(Jv), console.debug("操作指引模式已激活");
      },
      100
    );
  }
  /**
   * 注册touch事件处理函数
   * @param {string} eventType - 事件类型 (如 'touchstart', 'touchmove', 'touchend')
   * @param {Function} handler - 事件处理函数
   */
  registerTouchEvent(C, U) {
    if (typeof U != "function") {
      console.error(`Invalid touch event handler for type: ${C}`);
      return;
    }
    this.touchEventHandlers.set(C, U);
  }
  /**
   * 触发touch事件
   * @param {string} eventType - 事件类型
   * @param {Object} eventData - 事件数据
   */
  triggerTouchEvent(C, U) {
    if (!this.isSupportedGamepad) return;
    const v = this.touchEventHandlers.get(C);
    if (v)
      try {
        v(U);
      } catch (k) {
        console.error(`Error triggering touch event ${C}:`, k);
      }
  }
  /**
   * 创建触摸事件对象
   * @param {Object} action - 游戏手柄动作
   * @returns {Object} 触摸事件对象
   */
  createTouchEvent(C) {
    return {
      nativeEvent: {
        changedTouches: [
          {
            clientX: C.x,
            clientY: C.y,
            identifier: C.id || 1
          }
        ]
      }
    };
  }
  /**
   * 停止控制器并取消事件监听
   */
  stop() {
    this.state !== nS && (Object.values(this.eventSubscriptions).forEach((C) => {
      C && typeof C.unsubscribe == "function" && C.unsubscribe();
    }), this.clearCombinationTimers(), this.state = nS);
  }
};
Xt(Zc, "instance", null);
let Ap = Zc;
const i2 = "", c2 = "", o2 = "", f2 = ({ config: V, saveGameConfig: C }) => {
  const U = Ch(null), [v, k] = Xc({ width: 0, height: 0 }), [I, le] = Xc([]), [Z, Ee] = Xc([]);
  Rh(() => {
    if (Ap.getInstance().registerModeEventHandler(_s, Ze), V != null && V.buttons && le(V.buttons), U.current) {
      const { clientWidth: Ae, clientHeight: te } = U.current;
      k({ width: Ae, height: te });
    }
    const $ = new ResizeObserver((Ae) => {
      for (const te of Ae) {
        const { clientWidth: ft, clientHeight: Ye } = te.target;
        k({ width: ft, height: Ye });
      }
    });
    return U.current && $.observe(U.current), () => {
      $ && $.disconnect();
    };
  }, [V]), Rh(() => {
    Z.length !== 0 && (le([...be(Z)]), Ee([]));
  }, [Z]);
  const Ze = (F) => {
    F.eventType == "connect" ? re(F) : F.eventType == "press" ? He(F) : F.eventType == "release" && ye(F);
  }, re = (F) => {
    const { id: $ } = F.gamepad;
    console.log(`${$} connected!`);
  }, He = (F) => {
    const { buttonName: $, index: Ae } = F.detail;
  }, ye = (F) => {
    const { buttonName: $, index: Ae } = F.detail;
    [8, 9].includes(Ae) || Ee(F.detail.index);
  }, Je = (F = "click") => {
    const $ = { x: 0, y: 0 };
    return F === "click" ? ($.x = v.width / 2, $.y = v.height / 2) : F === "left_stick" ? ($.x = v.width / 4, $.y = v.height / 4 * 3, $.radius = 50) : F === "right_stick" && ($.x = v.width / 4 * 3, $.y = v.height / 4 * 3, $.radius = 50), {
      type: F,
      ...$,
      key: `btn_${Date.now()}`,
      active: !0,
      mode: F.includes("stick") ? "move" : void 0
    };
  }, We = () => {
    le([...de(-1), Je("click")]);
  }, ht = (F = "left") => {
    le([...de(-1), Je(`${F}_stick`)]);
  }, de = (F) => I.map(($, Ae) => ({
    ...$,
    active: Ae === F
  })), be = (F) => I.map(($) => $.type !== "click" ? $ : $.active ? {
    ...$,
    keycode: F.toString()
  } : $.keycode === F.toString() && !$.active ? {
    ...$,
    keycode: null
  } : $), Ie = (F) => {
    const $ = [...de(F)];
    le($);
  }, it = (F, $, Ae) => {
    const te = [...de(F)];
    te[F] = { ...te[F], x: Ae.x, y: Ae.y }, le(te);
  }, Rt = () => {
    const F = I.filter(
      (Ae) => Ae.keycode !== null
    ), $ = {
      ...V,
      resolution: {
        width: v.width,
        height: v.height
      },
      buttons: F.map((Ae) => ({ ...Ae, mode: Ae.mode || "move", radius: Ae.radius || 50 }))
    };
    C($);
  }, qt = [
    {
      name: "点击",
      icon: i2,
      clickHandler: () => {
        We();
      }
    },
    {
      name: "左摇杆",
      icon: c2,
      keycode: Wv,
      clickHandler: () => {
        ht("left");
      }
    },
    {
      name: "右摇杆",
      icon: o2,
      keycode: Iv,
      clickHandler: () => {
        ht("right");
      }
    }
  ];
  return /* @__PURE__ */ ve.jsxs("div", { ref: U, className: "absolute inset-0 bg-black/50", children: [
    /* @__PURE__ */ ve.jsx(Qb, { list: qt, generateConfig: Rt }),
    /* @__PURE__ */ ve.jsx("div", { className: "w-full h-full", children: I.map((F, $) => /* @__PURE__ */ ve.jsx(
      Mb,
      {
        center: !0,
        position: { x: F.x, y: F.y },
        hasSetting: F.type !== "click",
        onDrag: (Ae, te) => it($, Ae, te),
        onPointer: (Ae) => Ie($),
        onDelete: () => {
          le(I.filter((Ae) => Ae.key !== F.key));
        },
        onSettings: () => {
          const Ae = F.mode === "move" ? "skill" : F.mode === "skill" ? "view" : "move";
          le(I.map(
            (te) => te.key === F.key ? { ...te, mode: Ae } : te
          ));
        },
        children: /* @__PURE__ */ ve.jsx(yS, { keycode: F.keycode, type: F.type, mode: F.mode, active: F.active })
      },
      F.key
    )) })
  ] });
};
export {
  f2 as Configurator,
  Mb as Draggable,
  e2 as Gamepad2touch,
  Qb as Sidebar,
  Ap as default
};
